![]() |
Jazz 1.25.+
|
A language to access any container by base using locators. More...
Data Structures | |
struct | ApiQueryState |
A buffer to keep the state while parsing/executing a query. More... | |
struct | AttributeType |
A type definition for attributes across Jazz native (with special codes), and ONNX protocol buffer. More... | |
class | BaseAPI |
BaseAPI: The parent of API and Core. More... | |
class | Bop |
Bop: The Bebop compiler and decompiler. More... | |
class | Caster |
Caster: An optional converter of the output. More... | |
class | ColSelection |
ColSelection: A selection of columns from a Space. More... | |
class | Core |
Core: The execution unit is now a wrapper around onnx-runtime. More... | |
class | DataSpaces |
DataSpaces: The data space. More... | |
class | Fields |
Fields: A Space for Snippets. More... | |
class | OnnxAttribute |
An attribute for an ONNX OpCode. More... | |
class | OnnxOpCode |
An ONNX OpCode. More... | |
class | OnnxParameter |
A parameter (input or output) for an ONNX OpCode. More... | |
class | OpCodes |
OpCodes: The opcodes. More... | |
class | RowSelection |
RowSelection: An iterator over the rows of a Space. More... | |
class | Snippet |
Snippet: A code snippet and the ancestor of Concept. More... | |
class | Space |
Space: The abstract space. More... | |
class | stdName |
A wrapped Name that supports being stacked in an std::vector and used as a key in an std::map. More... | |
class | stdNameVersion |
A pair of a name and a version to be used as a key in a dictionary. More... | |
struct | TensorType |
A type definition for tensors across all the technologies: Jazz native, ONNX protocol buffer and ONNX runtime. More... | |
Typedefs | |
typedef ParseStateTransition | ParseStateTransitions[NUM_STATE_TRANSITIONS] |
typedef BaseAPI * | pBaseAPI |
A pointer to a BaseAPI. | |
typedef Bop * | pBop |
A pointer to a Bop. | |
typedef Core * | pCore |
A pointer to a Core. | |
typedef DataSpaces * | pDataSpace |
A pointer to a DataSpaces. | |
typedef Fields * | pFields |
A pointer to a Fields. | |
typedef std::map< stdName, TensorType > | TensorTypeDict |
A map of TensorType objects. | |
typedef std::vector< TensorType > | TensorTypes |
A list of TensorType objects. | |
typedef TensorTypes * | pTensorTypes |
A pointer to a TensorTypes. | |
typedef std::map< stdName, AttributeType > | AttributeTypeDict |
A map of AttributeType objects. | |
typedef AttributeType * | pAttributeType |
A pointer to a AttributeType. | |
typedef std::vector< OnnxParameter > | OnnxParameters |
A list of OnnxParameter objects. | |
typedef std::vector< OnnxAttribute > | OnnxAttributes |
A list of OnnxAttribute objects. | |
typedef OnnxOpCode * | pOnnxOpCode |
A pointer to an OnnxOpCode object. | |
typedef std::vector< OnnxOpCode > | OnnxOpCodes |
A list of OnnxOpCode objects. | |
typedef std::map< stdNameVersion, int > | OnnxOpCodeDict |
A map of OnnxOpCode objects. | |
typedef OpCodes * | pOpCodes |
A pointer to an OpCodes object. | |
typedef std::vector< std::string > | SnippetText |
A SnippetText is a vector of strings. | |
typedef SnippetText * | pSnippetText |
A pointer to a SnippetText. | |
typedef Snippet * | pSnippet |
A pointer to a Snippet. | |
typedef uint64_t | RowNumber |
A row number in a Space. | |
typedef Name | ColumnName |
A column name in a Space. | |
typedef Space * | pSpace |
Forward definition of Space. | |
typedef std::vector< stdName > | stdNames |
A vector of stdName. | |
typedef RowSelection * | pRowSelection |
A pointer to a RowSelection. | |
typedef ColSelection * | pColSelection |
A pointer to a ColSelection. | |
typedef Caster * | pCaster |
A pointer to a Caster. | |
typedef std::map< stdName, pCaster > | Casters |
A map of Caster pointers. | |
typedef Casters * | pCasters |
A pointer to a Casters. | |
Variables | |
ParseStateTransitions | state_tr |
ParseNextStateLUT | parser_state_switch [MAX_NUM_PSTATES] |
TensorTypeDict | TENSOR_TYPES |
A table to locate all the possible ONNX tensor types by their name in the config file "onnx.ini". | |
AttributeTypeDict | ATTRIBUTE_TYPES |
A table to locate all the possible ONNX attribute types by their name in the config file "onnx.ini". | |
const char | KIND_SNIPPET [] |
const char | EMPTY_SNIPPET [] |
const char | SNIPPET_VERSION [] = "snp1" |
The content of the attribute BLOCK_ATTRIB_SNIPVERS. | |
const char | SNIPSTATE_EMPTY_SNIPPET [] = "____" |
The snippet is empty. | |
const char | SNIPSTATE_SOURCE_AVAILABLE [] = "s___" |
The source code is available. | |
const char | SNIPSTATE_SOURCE_PREPROCESSED [] = "sx__" |
The source code has been preprocessed successfully. | |
const char | SNIPSTATE_SOURCE_COMPILED [] = "sxo_" |
The source code has been compiled successfully. | |
const char | SNIPSTATE_OBJECT_AVAILABLE [] = "__o_" |
The snippet is created from an onnx object. | |
const char | SNIPSTATE_OBJECT_PREPROCESSED [] = "_xo_" |
The snippet (from onnx) has been reverse engineered successfully. | |
const char | SNIPSTATE_CAN_RUN [] = "___a" |
The global state is neither error nor empty state() >= SNIPSTATE_CAN_RUN. | |
const char | SNIPSTATE_CAN_RUN_OBJECT [] = "_xor" |
The snippet (from onnx) is ready to run (or has run before) | |
const char | SNIPSTATE_CAN_RUN_SOURCE [] = "sxor" |
The snippet (from source) is ready to run (or has run before) | |
const char | SNIPSTATE_IS_RUNNING_OBJECT [] = "_xoi" |
The snippet is currently running (from onnx) | |
const char | SNIPSTATE_IS_RUNNING_SOURCE [] = "sxoi" |
The snippet is currently running (from source) | |
const char | SNIPSTATE_FAILED_SRC_PREPROC [] = "sX_!" |
The source code preprocessing failed. | |
const char | SNIPSTATE_FAILED_SRC_COMPILE [] = "sxO!" |
The source code compilation failed. | |
const char | SNIPSTATE_FAILED_OBJ_PREPROC [] = "_Xo!" |
The snippet (from onnx) reverse engineering failed. | |
const char | SNIPSTATE_FAILED_RUN_OBJECT [] = "_xo!" |
The snippet failed to run (from onnx) | |
const char | SNIPSTATE_FAILED_RUN_SOURCE [] = "sxo!" |
The snippet failed to run (from source) | |
A language to access any container by base using locators.
A Concept ancestor that contains both the source and the object code.
In Bop-25, opcodes are onnx-runtime operations.
The DataSpaces and its utilities.
Core: The execution unit is now a wrapper around onnx-runtime.
The Bop compiler.
BaseAPI is a Container and a parent of: Core, ModelsAPI and API.
A core is not a service, it is stored in a Bop API.
This is an essential part of Bop to abstract data storage supporting dataframes, possibly sharded and lazy-loaded. It also provides indexing which can select rows, keys of find nearest neighbors.
A Snippet is an object that can do both forward (compile) and reverse engineering (decompile) between compilable Bop and an onnx file. It supports a number of serializations to and from Jazz Blocks. It forms the minimal unit of what can be run.
typedef ParseStateTransition jazz_bebop::ParseStateTransitions[NUM_STATE_TRANSITIONS] |
A vector of StateTransition. This only runs once, on construction of the API object, initializes the LUTs from a sequence of StateTransition constants in the source of api.cpp.
typedef std::vector<std::string> jazz_bebop::SnippetText |
A SnippetText is a vector of strings.
A std::vector of std::string to hold the source and intermediate code of a Snippet. This is used to make compilation and code generation easier to interface in c++.
The caller owns the object (initially empty) and is responsible for freeing it when no longer needed.
typedef Space* jazz_bebop::pSpace |
ParseStateTransitions jazz_bebop::state_tr |
The parser logic defined in terms of transitions between states.
ParseNextStateLUT jazz_bebop::parser_state_switch[MAX_NUM_PSTATES] |
The parser logic defined as a LUT (initialized by compile_next_state_LUT()).
TensorTypeDict jazz_bebop::TENSOR_TYPES |
A table to locate all the possible ONNX tensor types by their name in the config file "onnx.ini".
The table is a map of strings to a TensorType: Jazz native type, ONNX protocol buffer type and ONNX runtime type.
AttributeTypeDict jazz_bebop::ATTRIBUTE_TYPES |
A table to locate all the possible ONNX attribute types by their name in the config file "onnx.ini".
The table is a map of strings to an AttributeType: Jazz native type, ONNX protobuf type and a boolean if the attribute is a list.
const char jazz_bebop::KIND_SNIPPET[] |
The kind of a Snippet
const char jazz_bebop::EMPTY_SNIPPET[] |
The empty Snippet
const char jazz_bebop::SNIPPET_VERSION[] = "snp1" |
The content of the attribute BLOCK_ATTRIB_SNIPVERS.
The empty Snippet