SYMBOL INDEX (2995 symbols across 217 files) FILE: fix_nnef_binary_size.py function fix_nnef_binary (line 20) | def fix_nnef_binary(in_fn, out_fn): function fix_nnef_binaries (line 45) | def fix_nnef_binaries(in_path, out_path): FILE: nnef-pyproject/examples/samples/sample_ext.py function shuffle_shape (line 18) | def shuffle_shape(input, groups): FILE: nnef-pyproject/nnef/__init__.py function load_graph (line 41) | def load_graph(path, stdlib=None, lowered=None, load_variables=True): function save_graph (line 73) | def save_graph(graph, path, annotate_shapes=False): class Session (line 100) | class Session: method __init__ (line 102) | def __init__(self, path, stdlib=None, lowered=None): method __enter__ (line 105) | def __enter__(self): method __exit__ (line 108) | def __exit__(self, exc_type, exc_val, exc_tb): method __call__ (line 111) | def __call__(self, *inputs): FILE: nnef-pyproject/nnef/binary.py class ItemType (line 21) | class ItemType: function _numpy_dtype_split (line 30) | def _numpy_dtype_split(dtype): function _numpy_dtype_make (line 51) | def _numpy_dtype_make(item_type, bits): function _rank_of (line 83) | def _rank_of(shape): function _tofile (line 93) | def _tofile(data, file): function _fromfile (line 102) | def _fromfile(file, dtype, count): function write_tensor (line 113) | def write_tensor(file, tensor, quantized=False, version=(1, 0)): function read_tensor (line 145) | def read_tensor(file, return_quantization=False): function _write_tensor_provisional (line 193) | def _write_tensor_provisional(file, tensor, version=(1, 0)): function _read_tensor_provisional (line 210) | def _read_tensor_provisional(file): FILE: nnef-pyproject/nnef/cpp/include/nnef.h function namespace (line 29) | namespace nnef type Tensor (line 60) | struct Tensor type Operation (line 74) | struct Operation type Graph (line 87) | struct Graph type std (line 170) | typedef std::function ShapeFunc; FILE: nnef-pyproject/nnef/cpp/include/nnef/common/binary.h function namespace (line 29) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/common/dictionary.h function namespace (line 24) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/common/error.h function namespace (line 25) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/common/lexer.h function namespace (line 27) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/common/parser.h function namespace (line 27) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/common/prototype.h function namespace (line 27) | namespace nnef function Result (line 143) | const Result& result( const size_t i ) const function Result (line 148) | const Result* result( const std::string& name ) const FILE: nnef-pyproject/nnef/cpp/include/nnef/common/shapes.h function namespace (line 31) | namespace nnef function volume_of (line 75) | inline size_t volume_of( const Shape& shape ) function volume_of (line 80) | inline size_t volume_of( const Shape& shape, const size_t offset, const ... function broadcastable (line 85) | inline bool broadcastable( const Shape& xShape, const Shape& yShape, con... function broadcastable (line 99) | inline bool broadcastable( const Shape& xShape, const Shape& yShape ) function broadcast_compatible (line 105) | inline bool broadcast_compatible( const Shape& xShape, const Shape& ySha... function broadcast_compatible (line 119) | inline bool broadcast_compatible( const Shape& xShape, const Shape& ySha... function axes_compatible_with_rank (line 125) | inline bool axes_compatible_with_rank( const Value& axes, const size_t r... function contains_axis (line 138) | inline bool contains_axis( const Value& axes, const size_t axis ) function sign (line 151) | int sign( T val ) function ceil_div (line 156) | inline int ceil_div( int x, int y ) function T (line 162) | T downsize( const T input, const T size, const T padding, const T stride... function T (line 169) | T downsize( const T input, const T stride ) function T (line 175) | T upsize( const T input, const T size, const T padding, const T stride, ... function T (line 182) | T upsize( const T input, const T stride ) function check (line 189) | void check( bool condition, const char* message, Args&&... args ) function check_axis_compatible_with_rank (line 197) | inline void check_axis_compatible_with_rank( const Value& axis, const si... function check_axes_compatible_with_rank (line 203) | inline void check_axes_compatible_with_rank( const Value& axes, const si... function check_range (line 209) | inline void check_range( const char* name, const Value& value, const Val... function check_rank (line 224) | inline void check_rank( const char* name, const Value& value, const size... function Shape (line 231) | inline Shape broadcast_shape( const Shape& xShape, const Shape& yShape, ... function Shape (line 245) | inline Shape broadcast_shape( const Shape& xShape, const Shape& yShape ) function Shape (line 251) | inline Shape nullary_shape( const Value& shape ) function Shape (line 256) | inline Shape constant_shape( const Value& shape, const Value& value ) function Shape (line 265) | inline Shape unary_shape( const Shape& shape ) function Shape (line 270) | inline Shape binary_shape( const Shape& shape1, const Shape& shape2 ) function Shape (line 279) | inline Shape asymmetric_binary_shape( const Shape& shape1, const Shape& ... function Shape (line 288) | inline Shape ternary_shape( const Shape& shape1, const Shape& shape2, co... function Shape (line 293) | inline Shape reduce_shape( const Shape& input, const Value& axes ) function Shape (line 307) | inline Shape downsample_shape( const Shape& input, const Value& factor ) function Shape (line 323) | inline Shape upsample_shape( const Shape& input, const Value& factor ) function Shape (line 335) | inline Shape downsize_shape( const Shape& input, const Shape& kernel, co... function Shape (line 346) | inline Shape upsize_shape( const Shape& input, const Shape& kernel, cons... function Shape (line 357) | inline Shape conv_like_shape( const Shape& input, const Shape& filter, c... function Shape (line 447) | inline Shape separable_conv_like_shape( const Shape& input, const Shape&... function Shape (line 465) | inline Shape conv_shape( const Shape& input, const Shape& filter, const ... function Shape (line 472) | inline Shape deconv_shape( const Shape& input, const Shape& filter, cons... function Shape (line 479) | inline Shape separable_conv_shape( const Shape& input, const Shape& plan... function Shape (line 486) | inline Shape separable_deconv_shape( const Shape& input, const Shape& pl... function Shape (line 493) | inline Shape pool_like_shape( const Shape& input, const Value& size, con... function Shape (line 545) | inline Shape sample_like_shape( const Shape& input, const Shape& index, ... function Shape (line 553) | inline Shape pool_shape( const Shape& input, const Value& size, const Va... function Shape (line 559) | inline Shape unpool_shape( const Shape& input, const Value& size, const ... function Shape (line 565) | inline Shape sample_shape( const Shape& input, const Shape& index, const... function Shape (line 571) | inline Shape desample_shape( const Shape& input, const Shape& index, con... function Shape (line 577) | inline Shape normalize_shape_axes( const Shape& input, const Value& axes ) function Shape (line 584) | inline Shape normalize_shape_size( const Shape& input, const Value& size ) function Shape (line 592) | inline Shape batchnorm_shape( const Shape& input, const Shape& mean, con... function Shape (line 606) | inline Shape roi_shape( const Shape& input, const Shape& rois, const Sha... function Shape (line 626) | inline Shape roi_shape_resample( const Shape& input, const Shape& rois, ... function Shape (line 634) | inline Shape reshape_shape( const Shape& input, const Value& shape, cons... function Shape (line 684) | inline Shape transpose_shape( const Shape& input, const Value& axes ) function std (line 707) | inline std::vector split_shape( const Shape& value, const Value& ... function Shape (line 735) | inline Shape concat_shape( const std::vector& valuesShape, const ... function Shape (line 773) | inline Shape slice_shape( const Shape& input, const Value& axes, const V... function Shape (line 838) | inline Shape stack_shape( const std::vector& inputs, const Value&... function std (line 862) | inline std::vector unstack_shape( const Shape& input, const Value... function Shape (line 881) | inline Shape squeeze_shape( const Shape& input, const Value& axes ) function Shape (line 902) | inline Shape unsqueeze_shape( const Shape& input, const Value& axes ) function Shape (line 915) | inline Shape tile_shape( const Shape& input, const Value& repeats ) function Shape (line 928) | inline Shape pad_shape( const Shape& input, const Value& padding ) function Shape (line 940) | inline Shape gather_shape( const Shape& input, const Shape& indices, con... function Shape (line 954) | inline Shape matmul_shape( const Shape& A, const Shape& B, const Value& ... function Shape (line 982) | inline Shape linear_shape( const Shape& input, const Shape& filter, cons... function Shape (line 995) | inline Shape update_shape( const Shape& variable, const Shape& value ) function Shape (line 1001) | inline Shape softmax_shape( const Shape& inputShape, const Value& axes ) function std (line 1007) | inline std::vector copy_n_shape( const Shape& shape, const Value&... function Shape (line 1013) | inline Shape add_n_shape( const std::vector& inputs ) function Shape (line 1025) | inline Shape quantize_shape( const Shape& input, const Shape& min, const... function Shape (line 1037) | inline Shape linear_quantize_shape( const Shape& input, const Shape& min... function Shape (line 1042) | inline Shape logarithmic_quantize_shape( const Shape& input, const Shape... function Shape (line 1047) | inline Shape zero_point_linear_quantize_shape( const Shape& input, const... FILE: nnef-pyproject/nnef/cpp/include/nnef/common/typespec.h function Typename (line 32) | enum class Typename { Integer, Scalar, Logical, String, Generic }; FILE: nnef-pyproject/nnef/cpp/include/nnef/common/typeutils.h function namespace (line 26) | namespace nnef function Type (line 115) | inline const Type* commonType( const Type* type1, const Type* type2 ) function Type (line 128) | inline const Type* bindDataType( const Type* paramType, const PrimitiveT... function deduceDataType (line 167) | inline void deduceDataType( const Type* paramType, const Type* argType, ... function deduceDataType (line 230) | inline bool deduceDataType( const Prototype& proto, const Dictionary nestedArrayShape( const Value& value ) FILE: nnef-pyproject/nnef/cpp/include/nnef/comp/comp_parser.h function namespace (line 37) | namespace nnef function Type (line 1493) | static const Type* resultType( const Prototype& proto, const PrimitiveTy... function Type (line 1508) | static const Type* unaryResultType( const Type* argType, int op ) function Type (line 1536) | static const Type* binaryResultType( const Type* lhsType, const Type* rh... function Type (line 1605) | static const Type* builtinResultType( int op ) function Type (line 1642) | static const Type* typeOf( const Value& value ) function tokenPrecedence (line 1686) | static int tokenPrecedence( int token ) function Dictionary (line 1762) | static Dictionary> makeUnaryOpArgs( const Shared& rig... function Dictionary (line 1771) | static Dictionary> makeBinaryOpArgs( const Shared lef... FILE: nnef-pyproject/nnef/cpp/include/nnef/comp/evaluation.h function namespace (line 31) | namespace nnef function Value (line 774) | Value evaluateBinary( const Value& left, const Value& right ) function Typename (line 790) | static Typename dtypeOf( const Value& value, const Dictionary&... function insertCopy (line 810) | void insertCopy( const Value& lvalue, const Value& rvalue, Dictionary& id... function unassign (line 899) | void unassign( const Expr& lhs, Dictionary& ids ) function declare (line 927) | static void declare( const Value& arg, const Type* type, Dictionary ) -> ( y: tensor ) function fragment (line 331) | fragment silu( x: tensor ) -> ( y: tensor ) function fragment (line 336) | fragment prelu( x: tensor, alpha: tensor ) -> ( y: tenso... function fragment (line 341) | fragment leaky_relu( x: tensor, alpha: scalar ) -> ( y: tensor, size: integer[... function fragment (line 493) | fragment batch_normalization( input: tensor, mean: tensor[] ) -> ( y: tensor ) FILE: nnef-pyproject/nnef/cpp/include/nnef/flat/flat_parser.h function namespace (line 31) | namespace nnef function Dictionary (line 714) | static Dictionary buildPrototypes() FILE: nnef-pyproject/nnef/cpp/include/nnef/flat/quant_parser.h function namespace (line 29) | namespace nnef FILE: nnef-pyproject/nnef/cpp/include/nnef/runtime/execution.h function namespace (line 35) | namespace nnef { namespace rt function _extract_items (line 200) | DISPATCH_BY_DTYPE(select) function Shape (line 213) | inline Shape _make_padding( const size_t rank, const int input[], const ... function _execute_transpose (line 347) | DISPATCH_BY_DTYPE(reshape) function _execute_concat (line 369) | DISPATCH_BY_DTYPE(transpose) function _execute_split (line 394) | DISPATCH_BY_DTYPE(concat) function execute_pad (line 419) | DISPATCH_BY_DTYPE(split) function _execute_slice (line 475) | DISPATCH_BY_DTYPE(tile) function _execute_gather (line 518) | DISPATCH_BY_DTYPE(slice) function _execute_cast (line 535) | DISPATCH_BY_DTYPE(gather) function execute_matmul (line 567) | DISPATCH_BY_DTYPE(cast) FILE: nnef-pyproject/nnef/cpp/include/nnef/runtime/ndrange.h function namespace (line 21) | namespace nnef { namespace rt function nd_loop (line 58) | void nd_loop( const S shape[], const Op& op ) function call (line 68) | static inline size_t call( const S shape[], const I index[] ) function nd_offset (line 93) | size_t nd_offset( const S shape[], const I index[] ) function call (line 102) | static inline size_t call( const S shape[] ) function call (line 111) | static inline size_t call( const S shape[] ) function call (line 120) | static inline size_t call( const S shape[] ) function nd_volume (line 127) | size_t nd_volume( const S shape[] ) function nd_volume (line 133) | size_t nd_volume( const size_t rank, const S shape[] ) function call (line 142) | static inline void call( const Op& op ) function call (line 152) | static inline void call( const Op& op ) function call (line 161) | static inline void call( const Op& op ) function for_n (line 167) | void for_n( const Op& op ) function call (line 176) | static inline bool call( const Op& op ) function call (line 185) | static inline bool call( const Op& op ) function call (line 194) | static inline bool call( const Op& op ) function all_n (line 201) | bool all_n( const Op& op ) function tensor_view (line 215) | tensor_view operator[]( const size_t idx ) const FILE: nnef-pyproject/nnef/cpp/include/nnef/runtime/operations.h function namespace (line 25) | namespace nnef { namespace rt function _binary (line 45) | void _binary( const size_t n, const T* x, const size_t dx, const T* y, c... FILE: nnef-pyproject/nnef/cpp/infer.cpp function read_file (line 54) | std::string read_file( const char* fn ) function read_inputs_from_cin (line 65) | bool read_inputs_from_cin( nnef::Graph& graph, std::string& error ) function read_inputs_from_file (line 78) | bool read_inputs_from_file( nnef::Graph& graph, const std::vector& v ) function main (line 159) | int main( int argc, const char * argv[] ) FILE: nnef-pyproject/nnef/cpp/sample.cpp function main (line 22) | int main( int argc, const char * argv[] ) FILE: nnef-pyproject/nnef/cpp/src/cnnef.cpp function nnef_graph_t (line 25) | nnef_graph_t nnef_graph_load( const char* path, char *perror ) function nnef_graph_t (line 42) | nnef_graph_t nnef_graph_copy( nnef_graph_t graph ) function nnef_graph_release (line 48) | void nnef_graph_release( nnef_graph_t graph ) function nnef_graph_infer_shapes (line 57) | int nnef_graph_infer_shapes( nnef_graph_t graph, char *perror ) function nnef_graph_allocate_buffers (line 74) | int nnef_graph_allocate_buffers( nnef_graph_t graph, char *perror ) function nnef_graph_execute (line 94) | int nnef_graph_execute( nnef_graph_t graph, char *perror ) function nnef_graph_input_names (line 114) | size_t nnef_graph_input_names( nnef_graph_t graph, const char** inputs ) function nnef_graph_output_names (line 128) | size_t nnef_graph_output_names( nnef_graph_t graph, const char** outputs ) function nnef_tensor_t (line 142) | nnef_tensor_t nnef_graph_find_tensor( nnef_graph_t graph, const char* te... function nnef_tensor_t (line 162) | nnef_tensor_t nnef_tensor_create(void) function nnef_tensor_release (line 167) | void nnef_tensor_release( nnef_tensor_t tensor ) function nnef_tensor_rank (line 188) | size_t nnef_tensor_rank( nnef_tensor_t tensor ) function nnef_tensor_read (line 206) | int nnef_tensor_read( const char* path, nnef_tensor_t tensor, char *perr... function nnef_tensor_write (line 226) | int nnef_tensor_write( const char* path, nnef_tensor_t tensor, char *per... FILE: nnef-pyproject/nnef/cpp/src/nnef.cpp type nnef (line 28) | namespace nnef type ParseCallback (line 31) | struct ParseCallback : public Parser::Callback method ParseCallback (line 39) | ParseCallback( Graph& graph, std::istream& qis, const std::string& q... method beginGraph (line 44) | virtual void beginGraph( const Prototype& proto, const Dictionary(*func)(const Shape&,co... function ShapeFunc (line 482) | ShapeFunc make_shape_func( Shape(*func)(const std::vector&,co... function ShapeFunc (line 505) | ShapeFunc make_shape_func( Shape(*func)(const Value&,const Args&...) ) function ShapeFunc (line 511) | ShapeFunc make_shape_func( Shape(*func)(const Shape&,const Args&...) ) function ShapeFunc (line 517) | ShapeFunc make_shape_func( Shape(*func)(const std::vector&,cons... function ShapeFunc (line 523) | ShapeFunc make_shape_func( std::vector(*func)(const Shape&,cons... function infer_shapes (line 664) | bool infer_shapes( Graph& graph, std::string& error, const std::map (line 421) | struct index_sequence_maker<0U, Next ... > { using type = index_sequence... type front_count_of (line 434) | struct front_count_of FILE: nnef-pyproject/nnef/nnef.cpp type NNEF_Identifier (line 54) | struct NNEF_Identifier function PyObject (line 94) | static PyObject* makePyTuple( Args&& ...args ) function PyObject (line 106) | static PyObject* makePyObject( PyObject* type, Args&& ...args ) function PyObject (line 114) | static PyObject* makeNamedTuple( const char* name, std::initializer_list... function PyObject (line 129) | static PyObject* buildPyBoolean( bool value ) function PyObject (line 141) | static PyObject* buildPyNone() function PyObject (line 146) | static PyObject* buildPyObjectFromValue( const nnef::Value& value ) function numpy_type_num (line 197) | static int numpy_type_num( const nnef::Typename& dtype ) function PyArray_Descr (line 212) | static PyArray_Descr* numpy_dtype( const nnef::Typename& dtype ) function buildErrorString (line 227) | static std::string buildErrorString( nnef::Error e ) type GraphCallback (line 242) | struct GraphCallback : public nnef::Parser::Callback method GraphCallback (line 244) | GraphCallback( std::istream& qis, const char* qfn ) method beginDocument (line 263) | virtual void beginDocument( const std::string& filename, const nnef::P... method handleExtension (line 269) | virtual bool handleExtension( const std::string& ext ) method beginGraph (line 277) | virtual void beginGraph( const nnef::Prototype& proto, const nnef::Dic... method endGraph (line 307) | virtual void endGraph( const nnef::Prototype& proto, const nnef::Dicti... method operation (line 345) | virtual void operation( const nnef::Prototype& proto, const nnef::Dict... function PyObject (line 393) | static PyObject* parse( PyObject* self, PyObject* args, PyObject* kwargs... function PyObject (line 491) | static PyObject* parseFile( PyObject* self, PyObject* args, PyObject* kw... function PyObject (line 496) | static PyObject* parseString( PyObject* self, PyObject* args, PyObject* ... function PyObject (line 501) | static PyObject* createSession( PyObject* self, PyObject* args, PyObject... function PyObject (line 560) | static PyObject* cleanupSession( PyObject* self, PyObject* args, PyObjec... function PyObject (line 576) | static PyObject* executeSession( PyObject* self, PyObject* args, PyObjec... type PyModuleDef (line 661) | struct PyModuleDef function PyMODINIT_FUNC (line 681) | PyMODINIT_FUNC INIT_FUNC_NAME(void) FILE: nnef-pyproject/nnef/parser.py function parse_file (line 18) | def parse_file(graph_fn, quant_fn=None, stdlib=None, lowered=None): function parse_string (line 22) | def parse_string(graph_str, quant_str=None, stdlib=None, lowered=None): FILE: nnef-pyproject/nnef/printer.py function format_version (line 18) | def format_version(version): function format_extensions (line 23) | def format_extensions(extensions): function format_argument (line 32) | def format_argument(value): function format_result (line 49) | def format_result(value): function format_shapes (line 60) | def format_shapes(result, tensors): function format_invocation (line 71) | def format_invocation(name, attribs, inputs, outputs=None, dtype=None): function format_graph (line 93) | def format_graph(name, inputs, outputs, operations, tensors, annotate_sh... FILE: nnef-pyproject/nnef/shapes.py function _ceil_div (line 19) | def _ceil_div(x, y): function _clamp (line 23) | def _clamp(x, a, b): function _ensure_rank (line 27) | def _ensure_rank(array, rank, value=1): function _volume (line 31) | def _volume(shape): function _broadcast_compatible (line 38) | def _broadcast_compatible(x,y): function _broadcastable (line 42) | def _broadcastable(x,y): function _broadcast_shape (line 46) | def _broadcast_shape(x, y): function _downsize_shape (line 53) | def _downsize_shape(input, kernel, padding, stride, dilation): function _upsize_shape (line 59) | def _upsize_shape(input, kernel, padding, stride, dilation): function nullary_shape (line 65) | def nullary_shape(shape, **kwargs): function unary_shape (line 69) | def unary_shape(arg, **kwargs): function binary_shape (line 73) | def binary_shape(left, right, **kwargs): function asymmetric_binary_shape (line 77) | def asymmetric_binary_shape(left, right, **kwargs): function ternary_shape (line 83) | def ternary_shape(cond, left, right, **kwargs): function pool_shape (line 88) | def pool_shape(input, size, border=None, padding=[], stride=[], dilation... function pool_with_index_shape (line 118) | def pool_with_index_shape(input, size, border=None, padding=[], stride=[... function unpool_shape (line 123) | def unpool_shape(input, size, border=None, padding=[], stride=[], dilati... function sample_shape (line 127) | def sample_shape(input, index, size, border=None, padding=[], stride=[],... function desample_shape (line 132) | def desample_shape(input, index, size, border=None, padding=[], stride=[... function conv_shape (line 136) | def conv_shape(input, filter, bias=[], border=None, padding=[], stride=[... function separable_conv_shape (line 188) | def separable_conv_shape(input, plane_filter, point_filter, bias=[], bor... function separable_deconv_shape (line 202) | def separable_deconv_shape(input, plane_filter, point_filter, bias=[], b... function deconv_shape (line 208) | def deconv_shape(input, filter, bias=[], border=None, padding=[], stride... function reduce_shape (line 212) | def reduce_shape(input, axes, **kwargs): function normalize_shape (line 218) | def normalize_shape(input, **kwargs): function moments_shape (line 231) | def moments_shape(input, axes): function downsample_shape (line 236) | def downsample_shape(input, factor, **kwargs): function upsample_shape (line 245) | def upsample_shape(input, factor, **kwargs): function reshape_shape (line 252) | def reshape_shape(input, shape, axis_start=0, axis_count=-1): function transpose_shape (line 285) | def transpose_shape(input, axes): function squeeze_shape (line 291) | def squeeze_shape(input, axes): function unsqueeze_shape (line 297) | def unsqueeze_shape(input, axes): function concat_shape (line 307) | def concat_shape(values, axis): function split_shape (line 324) | def split_shape(value, axis, ratios): function stack_shape (line 336) | def stack_shape(values, axis): function unstack_shape (line 348) | def unstack_shape(value, axis): function slice_shape (line 355) | def slice_shape(input, axes, begin, end, stride=[]): function tile_shape (line 387) | def tile_shape(input, repeats): function pad_shape (line 394) | def pad_shape(input, padding, **kwargs): function gather_shape (line 401) | def gather_shape(input, indices, axis=0): function matmul_shape (line 408) | def matmul_shape(A, B, transposeA=False, transposeB=False): function linear_shape (line 421) | def linear_shape(input, filter, bias=[]): function softmax_shape (line 436) | def softmax_shape(input, axes=[1]): function batchnorm_shape (line 443) | def batchnorm_shape(input, mean, variance, offset, scale, epsilon=0): function roi_shape (line 458) | def roi_shape(input, rois, batch_index, output_size, **kwargs): function quantize_shape (line 479) | def quantize_shape(input, *args, **kwargs): function update_shape (line 491) | def update_shape(variable, value): function copy_n_shape (line 496) | def copy_n_shape(value, times): function add_n_shape (line 501) | def add_n_shape(values): function _get_shape (line 510) | def _get_shape(graph, value): function _set_shape (line 521) | def _set_shape(graph, value, shape): function infer_shapes (line 530) | def infer_shapes(graph, external_shapes={}, custom_shapes={}): function _infer_op_shapes (line 579) | def _infer_op_shapes(op_name, attribs, input_shapes, output_counts, cust... FILE: nnef-pyproject/tests/test.py class ParserTest (line 21) | class ParserTest(unittest.TestCase): method test_empty_document (line 23) | def test_empty_document(self): method test_empty_body (line 27) | def test_empty_body(self): method test_minimal (line 31) | def test_minimal(self): method test_empty_input_not_declared (line 41) | def test_empty_input_not_declared(self): method test_input_not_external (line 51) | def test_input_not_external(self): method test_external_not_input (line 62) | def test_external_not_input(self): method test_empty_output_not_declared (line 74) | def test_empty_output_not_declared(self): method test_variable_update (line 84) | def test_variable_update(self): method test_non_variable_update (line 95) | def test_non_variable_update(self): method test_custom_fragment (line 106) | def test_custom_fragment(self): method test_reshape (line 123) | def test_reshape(self): FILE: nnef_tools-pyproject/custom/composite_export_example.py function lp_norm (line 13) | def lp_norm(x, p=2, axis=None, keepdims=False, name=None): function sum_pool2d (line 18) | def sum_pool2d(input, ksize, strides, padding, data_format='NHWC', name=... FILE: nnef_tools-pyproject/custom/custom_operators_example.py function shuffle (line 6) | def shuffle(input, groups): FILE: nnef_tools-pyproject/custom/custom_optimizers_example.py function replace_shuffle (line 6) | def replace_shuffle(reshape1, transpose, reshape2): FILE: nnef_tools-pyproject/custom/onnx_custom_export_example.py function aim_affine_grid (line 6) | def aim_affine_grid(g, trans, shape, align_corners): function aim_grid_sample (line 10) | def aim_grid_sample(g, input, grid, mode, padding, align_corners): class AffineTransform (line 18) | class AffineTransform(torch.nn.Module): method __init__ (line 20) | def __init__(self, width, height): method forward (line 25) | def forward(self, input, theta): class Model (line 32) | class Model(torch.nn.Module): method __init__ (line 34) | def __init__(self, grid_size): method forward (line 41) | def forward(self, x, t): FILE: nnef_tools-pyproject/custom/onnx_custom_transforms_example.py function affine_grid_shape (line 4) | def affine_grid_shape(theta, shape): FILE: nnef_tools-pyproject/nnef_tools/conversion/converter.py class Transform (line 28) | class Transform: method __init__ (line 30) | def __init__(self, type, name=None, inputs=None, outputs=None, attribs... method with_type (line 42) | def with_type(self, type): class ConversionError (line 47) | class ConversionError(Exception): method __init__ (line 49) | def __init__(self, message, details=None): class Converter (line 54) | class Converter: method find_public_methods (line 57) | def find_public_methods(obj): method find_public_functions (line 62) | def find_public_functions(obj): method decomposed_operations (line 67) | def decomposed_operations(): method defined_operations (line 71) | def defined_operations(): method defined_operation_dependencies (line 75) | def defined_operation_dependencies(): method defined_shapes (line 79) | def defined_shapes(): method unpack_transforms (line 83) | def unpack_transforms(transforms): method merge_transforms (line 103) | def merge_transforms(default_transforms, custom_transforms): method __init__ (line 111) | def __init__(self, transforms, functions=None, mirror_unsupported=Fals... method __call__ (line 121) | def __call__(self, graph): method tensor_mapping (line 200) | def tensor_mapping(self): method _global_attribs (line 204) | def _global_attribs(self): method _prepare (line 207) | def _prepare(self, graph): method _check_conditions (line 210) | def _check_conditions(self, op, transform): method _error_message (line 229) | def _error_message(self, op, transform): method _convert (line 244) | def _convert(self, op, transform): method _mirror (line 299) | def _mirror(self, op): method _add_default_attribs (line 309) | def _add_default_attribs(self, attribs, defaults, inputs, outputs, op_... method _evaluate (line 322) | def _evaluate(self, attribs, inputs, outputs, arg, using={}): method _evaluate_tensor_list (line 332) | def _evaluate_tensor_list(self, attribs, inputs, outputs, arg, using): method _filter_none (line 343) | def _filter_none(self, items): method _check_value (line 346) | def _check_value(self, value, kind, key, op_type, op_name, tensor=False): method _copy_tensor_ (line 356) | def _copy_tensor_(self, tensor): method _read_constant (line 360) | def _read_constant(self, tensor, type): method _make_constant (line 363) | def _make_constant(self, graph, dtype, value, inline): method _const_operation (line 366) | def _const_operation(self, output, value): method _transpose_operation (line 369) | def _transpose_operation(self, input, output, perm): method _reshape_operation (line 372) | def _reshape_operation(self, input, output, shape): method _squeeze_operation (line 375) | def _squeeze_operation(self, input, output, axes): method _unsqueeze_operation (line 378) | def _unsqueeze_operation(self, input, output, axes): method _scale_operation (line 381) | def _scale_operation(self, input, output, scalar): method _permute (line 385) | def _permute(items, perm): method _inverse_permute (line 392) | def _inverse_permute(items, perm): method _working_shape (line 398) | def _working_shape(self, tensor): method _pre_transpose (line 401) | def _pre_transpose(self, input, perm): method _post_transpose (line 407) | def _post_transpose(self, output, perm): method _pre_squeeze (line 413) | def _pre_squeeze(self, input, axes): method _pre_unsqueeze (line 419) | def _pre_unsqueeze(self, input, axes): method _post_squeeze (line 425) | def _post_squeeze(self, output, axes): method _post_unsqueeze (line 431) | def _post_unsqueeze(self, output, axes): method _reshape (line 437) | def _reshape(self, input, shape): method _shape_of (line 442) | def _shape_of(self, value): method squeeze_shape (line 451) | def squeeze_shape(self, shape, axes): method unsqueeze_shape (line 454) | def unsqueeze_shape(self, shape, axes): method transposing (line 459) | def transposing(self, tensor): method nxc_to_ncx (line 462) | def nxc_to_ncx(self, items, cond=True): method ncx_to_nxc (line 465) | def ncx_to_nxc(self, items, cond=True): method xcn_to_ncx (line 468) | def xcn_to_ncx(self, items, cond=True): method ncx_to_xcn (line 471) | def ncx_to_xcn(self, items, cond=True): method cxn_to_ncx (line 474) | def cxn_to_ncx(self, items, cond=True): method ncx_to_cxn (line 477) | def ncx_to_cxn(self, items, cond=True): method nxc_to_ncx_perm (line 480) | def nxc_to_ncx_perm(self, rank): method ncx_to_nxc_perm (line 483) | def ncx_to_nxc_perm(self, rank): method xcn_to_ncx_perm (line 486) | def xcn_to_ncx_perm(self, rank): method ncx_to_xcn_perm (line 489) | def ncx_to_xcn_perm(self, rank): method cxn_to_ncx_perm (line 492) | def cxn_to_ncx_perm(self, rank): method ncx_to_cxn_perm (line 495) | def ncx_to_cxn_perm(self, rank): method axis_nxc_to_ncx (line 498) | def axis_nxc_to_ncx(self, value, rank): method axis_ncx_to_nxc (line 506) | def axis_ncx_to_nxc(self, value, rank): method ensure_positive (line 514) | def ensure_positive(self, axis, rank): method as_const (line 520) | def as_const(self, tensor, type=None): method is_const (line 523) | def is_const(self, tensor, type=None): method is_zero (line 533) | def is_zero(self, tensor): method as_tensor (line 536) | def as_tensor(self, arg, dtype, inline=None): method new_tensor (line 539) | def new_tensor(self, shape, dtype): method is_integer_upsample (line 542) | def is_integer_upsample(self, input_shape, output_shape): method is_integer_downsample (line 545) | def is_integer_downsample(self, input_shape, output_shape): method upsample_factor (line 548) | def upsample_factor(self, input_shape, output_shape): method downsample_factor (line 551) | def downsample_factor(self, input_shape, output_shape): method from_numpy (line 554) | def from_numpy(self, array, type=None): method to_numpy (line 557) | def to_numpy(self, value, dtype=None): method flexible_batch (line 560) | def flexible_batch(self, output_shape, batch): method fixed_batch (line 563) | def fixed_batch(self, output_shape, batch): class ConverterToNNEF (line 567) | class ConverterToNNEF(Converter): method __init__ (line 584) | def __init__(self, transforms, functions=None, mirror_unsupported=Fals... method _insert_externals_and_constants (line 587) | def _insert_externals_and_constants(self, graph): method _ensure_valid_ids (line 598) | def _ensure_valid_ids(self, graph): method _make_constant (line 606) | def _make_constant(self, graph, dtype, value, inline): method _const_operation (line 619) | def _const_operation(self, output, value): method _transpose_operation (line 623) | def _transpose_operation(self, input, output, perm): method _reshape_operation (line 626) | def _reshape_operation(self, input, output, shape): method _squeeze_operation (line 629) | def _squeeze_operation(self, input, output, axes): method _unsqueeze_operation (line 632) | def _unsqueeze_operation(self, input, output, axes): method _scale_operation (line 635) | def _scale_operation(self, input, output, scalar): method _bias_operation (line 641) | def _bias_operation(self, input, output, bias): method _transform_constant (line 647) | def _transform_constant(self, tensor, func): method remove_unused_constants (line 654) | def remove_unused_constants(graph): method inline_scalar_constants (line 662) | def inline_scalar_constants(graph): method convert_constants_to_variables (line 673) | def convert_constants_to_variables(graph): method ensure_valid_id (line 686) | def ensure_valid_id(name): method nnef_dtype (line 689) | def nnef_dtype(self, dtype): class ConverterFromNNEF (line 693) | class ConverterFromNNEF(Converter): method decomposed_operations (line 696) | def decomposed_operations(): method __init__ (line 701) | def __init__(self, transforms, functions=None, mirror_unsupported=False): method convert_variables_to_constants (line 705) | def convert_variables_to_constants(graph): method fill_data_in_constants (line 713) | def fill_data_in_constants(graph): method _is_constant (line 718) | def _is_constant(self, tensor): method _read_constant (line 724) | def _read_constant(self, tensor, type): FILE: nnef_tools-pyproject/nnef_tools/conversion/nnef_to_onnx.py class Converter (line 23) | class Converter(_Converter): method defined_shapes (line 26) | def defined_shapes(): method decomposed_operations (line 40) | def decomposed_operations(): method __init__ (line 43) | def __init__(self, custom_transforms=None, custom_functions=None, mirr... method __call__ (line 47) | def __call__(self, graph): method _fix_inline_constants (line 54) | def _fix_inline_constants(self, graph): method _make_constant (line 61) | def _make_constant(self, graph, dtype, value, inline): method _const_operation (line 64) | def _const_operation(self, output, value): method _transform_constant (line 68) | def _transform_constant(self, tensor, func): method _squeeze_operation (line 77) | def _squeeze_operation(self, input, output, axes): method _unsqueeze_operation (line 80) | def _unsqueeze_operation(self, input, output, axes): method _interleave (line 83) | def _interleave(self, items): method squeeze_input (line 86) | def squeeze_input(self, tensor, axes): method squeeze_output (line 89) | def squeeze_output(self, tensor, axes): method unsqueeze_input (line 92) | def unsqueeze_input(self, tensor, axes): method unsqueeze_output (line 95) | def unsqueeze_output(self, tensor, axes): method squeeze_vector (line 98) | def squeeze_vector(self, tensor): method convert_pads (line 105) | def convert_pads(self, padding, truncate=False): method convert_auto_pad (line 108) | def convert_auto_pad(self, padding): method convert_output_padding (line 111) | def convert_output_padding(self, input_shape, filter_shape, output_sha... method is_const (line 116) | def is_const(self, tensor, value=None): method broadcast (line 119) | def broadcast(self, tensor, rank): FILE: nnef_tools-pyproject/nnef_tools/conversion/nnef_to_tf.py class Converter (line 24) | class Converter(_Converter): method defined_shapes (line 27) | def defined_shapes(): method decomposed_operations (line 33) | def decomposed_operations(): method __init__ (line 36) | def __init__(self, data_format='NXC', io_transpose=False, custom_trans... method __call__ (line 43) | def __call__(self, graph): method _global_attribs (line 51) | def _global_attribs(self): method _prepare (line 54) | def _prepare(self, graph): method _fix_inline_constants (line 57) | def _fix_inline_constants(self, graph): method _remove_unused_constants (line 63) | def _remove_unused_constants(self, graph): method _fix_output_transposes (line 70) | def _fix_output_transposes(self, graph): method _const_operation (line 74) | def _const_operation(self, output, value): method _transpose_operation (line 78) | def _transpose_operation(self, input, output, perm): method _reshape_operation (line 82) | def _reshape_operation(self, input, output, shape): method _squeeze_operation (line 86) | def _squeeze_operation(self, input, output, axes): method _unsqueeze_operation (line 90) | def _unsqueeze_operation(self, input, output, axes): method _scale_operation (line 98) | def _scale_operation(self, input, output, scalar): method _bias_operation (line 105) | def _bias_operation(self, input, output, bias): method _make_constant (line 114) | def _make_constant(self, graph, dtype, value, inline): method _transform_constant (line 119) | def _transform_constant(self, tensor, func): method _is_conv_filter (line 124) | def _is_conv_filter(self, tensor, groups): method _ensure_constant_producer (line 130) | def _ensure_constant_producer(self, tensor): method _is_nxc (line 135) | def _is_nxc(self, format): method _is_xcn (line 138) | def _is_xcn(self, format): method _is_cxn (line 141) | def _is_cxn(self, format): method needs_io_transpose (line 144) | def needs_io_transpose(self, tensor): method is_nxc (line 152) | def is_nxc(self): method data_format (line 155) | def data_format(self, rank): method convert_padding (line 159) | def convert_padding(self, value): method convert_explicit_paddings (line 162) | def convert_explicit_paddings(self, value): method convert_size (line 169) | def convert_size(self, value): method transpose_input (line 175) | def transpose_input(self, tensor): method transpose_output (line 183) | def transpose_output(self, tensor): method transpose_filter (line 188) | def transpose_filter(self, tensor, format='XCN'): method transpose_depthwise_filter (line 200) | def transpose_depthwise_filter(self, tensor, channels, format='XCN'): method transpose_like (line 213) | def transpose_like(self, tensor, reference): method transpose_list_like (line 218) | def transpose_list_like(self, items, ref): method transpose_axis_like (line 221) | def transpose_axis_like(self, axis, ref, rank=None): method undo_transpose (line 224) | def undo_transpose(self, tensor): method squeeze_input (line 230) | def squeeze_input(self, tensor, axes): method squeeze_output (line 233) | def squeeze_output(self, tensor, axes): method unsqueeze_input (line 236) | def unsqueeze_input(self, tensor, axes): method unsqueeze_output (line 239) | def unsqueeze_output(self, tensor, axes): method squeeze_vector (line 242) | def squeeze_vector(self, tensor): method scale_output (line 249) | def scale_output(self, output, scalar): method bias_add (line 254) | def bias_add(self, output, bias): method split_sizes (line 262) | def split_sizes(self, ratios, size): method convert_binarg (line 266) | def convert_binarg(self, tensor, other): method as_numpy (line 277) | def as_numpy(self, value, dtype=None): method as_bits (line 280) | def as_bits(self, items): method out_of_range (line 287) | def out_of_range(self, x, limit): FILE: nnef_tools-pyproject/nnef_tools/conversion/nnef_to_tflite.py function tflite_detection_postprocess_shape (line 25) | def tflite_detection_postprocess_shape(input, scores, anchors, **kwargs): class Converter (line 29) | class Converter(_TFConverter): method defined_shapes (line 32) | def defined_shapes(): method decomposed_operations (line 39) | def decomposed_operations(): method __init__ (line 42) | def __init__(self, io_transpose=False, custom_transforms=None, custom_... method __call__ (line 48) | def __call__(self, graph): method _global_attribs (line 54) | def _global_attribs(self): method _prepare (line 57) | def _prepare(self, graph): method _transpose_externals (line 62) | def _transpose_externals(self, graph): method _generate_tensor_names (line 68) | def _generate_tensor_names(self, graph): method _fix_quantized_dtypes (line 82) | def _fix_quantized_dtypes(self, graph): method _fix_quantization_attribs (line 90) | def _fix_quantization_attribs(self, graph): method _fix_custom_options (line 104) | def _fix_custom_options(self, graph): method _make_constant (line 111) | def _make_constant(self, graph, dtype, value, inline): method _ensure_constant_producer (line 114) | def _ensure_constant_producer(self, tensor): method _transform_constant (line 117) | def _transform_constant(self, tensor, func): method _squeeze_operation (line 122) | def _squeeze_operation(self, input, output, axes): method _unsqueeze_operation (line 125) | def _unsqueeze_operation(self, input, output, axes): method _transpose_operation (line 133) | def _transpose_operation(self, input, output, perm): method _reshape_operation (line 137) | def _reshape_operation(self, input, output, shape): method _bias_operation (line 141) | def _bias_operation(self, input, output, bias): method _scale_operation (line 147) | def _scale_operation(self, input, output, scalar): method _pad_operation (line 153) | def _pad_operation(self, input, output, paddings): method is_same_padding (line 159) | def is_same_padding(self, input_size, output_size, stride): method is_valid_padding (line 162) | def is_valid_padding(self, padding): method pad_input (line 165) | def pad_input(self, input, paddings): FILE: nnef_tools-pyproject/nnef_tools/conversion/onnx_to_nnef.py class Converter (line 148) | class Converter(_Converter): method defined_operations (line 151) | def defined_operations(): method defined_operation_dependencies (line 165) | def defined_operation_dependencies(): method defined_shapes (line 171) | def defined_shapes(): method __init__ (line 184) | def __init__(self, custom_transforms=None, custom_functions=None, mirr... method __call__ (line 194) | def __call__(self, graph): method _prepare (line 207) | def _prepare(self, graph): method _is_constant (line 210) | def _is_constant(self, tensor): method _read_constant (line 216) | def _read_constant(self, tensor, type=None): method _needs_io_transpose (line 226) | def _needs_io_transpose(self, tensor): method _transpose_inputs (line 234) | def _transpose_inputs(self, graph): method _transpose_outputs (line 245) | def _transpose_outputs(self, graph): method _transpose_input (line 256) | def _transpose_input(self, tensor): method _transpose_output (line 262) | def _transpose_output(self, tensor): method _interleave (line 266) | def _interleave(items): method _uninterleave (line 270) | def _uninterleave(items): method convert_padding (line 274) | def convert_padding(self, pads, auto_pad, output_padding, rank, ceil_s... method convert_pads (line 294) | def convert_pads(self, pads): method squeeze_input (line 297) | def squeeze_input(self, tensor, axes, keep_dims=False): method squeeze_output (line 300) | def squeeze_output(self, tensor, axes, keep_dims=False): method unsqueeze_input (line 303) | def unsqueeze_input(self, tensor, axes, keep_dims=False): method unsqueeze_output (line 306) | def unsqueeze_output(self, tensor, axes, keep_dims=False): method unsqueeze_vector (line 309) | def unsqueeze_vector(self, tensor): method bias_add (line 317) | def bias_add(self, output, bias): method lower_pads (line 325) | def lower_pads(self, input_size, filter_size, output_size, stride, dil... method ceil_pads (line 334) | def ceil_pads(self, pads, stride): method broadcast (line 337) | def broadcast(self, tensor, rank): method ensure_list (line 340) | def ensure_list(self, arg): method ensure_scalar (line 343) | def ensure_scalar(self, arg): method limit_range (line 346) | def limit_range(self, x): method is_unused (line 349) | def is_unused(self, tensor): FILE: nnef_tools-pyproject/nnef_tools/conversion/tf_to_nnef.py class Converter (line 33) | class Converter(_Converter): method defined_operations (line 39) | def defined_operations(): method __init__ (line 44) | def __init__(self, io_transpose=False, custom_transforms=None, custom_... method __call__ (line 51) | def __call__(self, graph): method _global_attribs (line 61) | def _global_attribs(self): method _fix_output_transposes (line 64) | def _fix_output_transposes(self, graph): method _is_conv_filter (line 75) | def _is_conv_filter(self, tensor): method _is_depthwise_conv_filter (line 80) | def _is_depthwise_conv_filter(self, tensor): method _is_constant (line 85) | def _is_constant(self, tensor): method _read_constant (line 91) | def _read_constant(self, tensor, type=None): method needs_io_transpose (line 100) | def needs_io_transpose(self, tensor): method is_nxc (line 108) | def is_nxc(self, format): method is_cxn (line 111) | def is_cxn(self, format): method is_xcn (line 114) | def is_xcn(self, format): method transpose_input (line 117) | def transpose_input(self, tensor, format='NXC'): method transpose_output (line 125) | def transpose_output(self, tensor, format='NXC'): method transpose_filter (line 130) | def transpose_filter(self, tensor, format='XCN'): method transpose_depthwise_filter (line 142) | def transpose_depthwise_filter(self, tensor, format='XCN'): method transpose_like (line 155) | def transpose_like(self, tensor, ref): method undo_transpose (line 160) | def undo_transpose(self, tensor): method convert_size (line 166) | def convert_size(self, value, format): method convert_padding (line 169) | def convert_padding(self, padding, rank, explicit_paddings=None, forma... method transpose_list_like (line 182) | def transpose_list_like(self, items, ref): method transpose_axis_like (line 185) | def transpose_axis_like(self, axis, ref, rank=None): method squeeze_input (line 189) | def squeeze_input(self, tensor, axes, keep_dims=False): method squeeze_output (line 192) | def squeeze_output(self, tensor, axes, keep_dims=False): method unsqueeze_input (line 195) | def unsqueeze_input(self, tensor, axes, keep_dims=False): method unsqueeze_output (line 198) | def unsqueeze_output(self, tensor, axes, keep_dims=False): method unsqueeze_vector (line 201) | def unsqueeze_vector(self, tensor): method convert_binarg (line 209) | def convert_binarg(self, tensor, other): method ensure_list (line 219) | def ensure_list(self, value): method is_bit_set (line 222) | def is_bit_set(self, mask, idx): method bit_count (line 225) | def bit_count(self, mask): method replace_item_with (line 232) | def replace_item_with(self, items, index, count, value): method replace_bit_with (line 235) | def replace_bit_with(self, mask, index, count, value): method beg_index (line 241) | def beg_index(self, stride): method end_index (line 244) | def end_index(self, stride): FILE: nnef_tools-pyproject/nnef_tools/conversion/tflite_to_nnef.py class Converter (line 49) | class Converter(_TFConverter): method defined_operations (line 62) | def defined_operations(): method __init__ (line 68) | def __init__(self, io_transpose=False, custom_transforms=None, custom_... method __call__ (line 75) | def __call__(self, graph): method _global_attribs (line 80) | def _global_attribs(self): method _prepare (line 83) | def _prepare(self, graph): method _is_constant (line 89) | def _is_constant(self, tensor): method _read_constant (line 92) | def _read_constant(self, tensor, type=None): method _transpose_externals (line 98) | def _transpose_externals(self, graph): method _is_zero (line 107) | def _is_zero(value): method _fix_quantized_dtypes (line 110) | def _fix_quantized_dtypes(self, graph): method _fix_quantization_attribs (line 119) | def _fix_quantization_attribs(self, graph): method _fix_custom_options (line 155) | def _fix_custom_options(self, graph): method _is_conv_filter (line 162) | def _is_conv_filter(self, tensor): method _is_conv_bias (line 167) | def _is_conv_bias(self, tensor): method activation (line 172) | def activation(self, output, func): method flat_list (line 183) | def flat_list(self, array): method flatten (line 186) | def flatten(self, input): method same_shape (line 192) | def same_shape(self, input, output): FILE: nnef_tools-pyproject/nnef_tools/convert.py function get_reader (line 24) | def get_reader(input_format, decomposed, fold_constants, custom_shapes): function get_writer (line 47) | def get_writer(output_format, fragments, fragment_dependencies, generate... function get_converter (line 69) | def get_converter(input_format, output_format, io_transpose, custom_tran... function get_optimizer (line 115) | def get_optimizer(format, custom_optimizers=None, dequantize=False): function get_custom_converters (line 132) | def get_custom_converters(module_names): function get_custom_shapes (line 147) | def get_custom_shapes(module_names): function get_custom_fragments (line 159) | def get_custom_fragments(module_names): function get_custom_optimizers (line 171) | def get_custom_optimizers(module_names): function needs_conversion (line 183) | def needs_conversion(input_format, output_format): function check_nan_or_inf (line 194) | def check_nan_or_inf(graph, which): function main (line 220) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/execute.py function _is_lambda (line 59) | def _is_lambda(v): function uniform (line 64) | def uniform(min=0, max=1): function normal (line 68) | def normal(mean=0, std=1): function needs_transpose (line 72) | def needs_transpose(io_transpose, name): function transpose_channels_last_to_first (line 76) | def transpose_channels_last_to_first(x): function transpose_channels_first_to_last (line 81) | def transpose_channels_first_to_last(x): function read_input (line 86) | def read_input(file, name, shape, dtype, transpose): function compute_statistics (line 101) | def compute_statistics(array): class RandomInputSource (line 114) | class RandomInputSource: method __init__ (line 116) | def __init__(self, distribution): method __call__ (line 119) | def __call__(self, name, shape, dtype): class StreamInputSource (line 123) | class StreamInputSource: method __init__ (line 125) | def __init__(self, stream, io_transpose): method __call__ (line 129) | def __call__(self, name, shape, dtype): class FileInputSource (line 134) | class FileInputSource: method __init__ (line 136) | def __init__(self, folder, io_transpose): method __call__ (line 140) | def __call__(self, name, shape, dtype): class Executor (line 149) | class Executor: method input_info (line 151) | def input_info(self): method output_info (line 154) | def output_info(self): method tensor_info (line 157) | def tensor_info(self): method __call__ (line 160) | def __call__(self, inputs, output_names=None, collect_statistics=False): class TFExecutor (line 164) | class TFExecutor(Executor): method __init__ (line 166) | def __init__(self, model_path): method input_info (line 190) | def input_info(self): method output_info (line 194) | def output_info(self): method tensor_info (line 198) | def tensor_info(self): method __call__ (line 203) | def __call__(self, inputs, output_names=None, collect_statistics=False): class TFLiteExecutor (line 235) | class TFLiteExecutor(Executor): method __init__ (line 237) | def __init__(self, model_path): method input_info (line 246) | def input_info(self): method output_info (line 250) | def output_info(self): method tensor_info (line 254) | def tensor_info(self): method __call__ (line 258) | def __call__(self, inputs, output_names=None, collect_statistics=False): class ONNXExecutor (line 283) | class ONNXExecutor(Executor): method __init__ (line 285) | def __init__(self, model_path, require_intermediates=False): method input_info (line 314) | def input_info(self): method output_info (line 317) | def output_info(self): method tensor_info (line 320) | def tensor_info(self): method __call__ (line 323) | def __call__(self, inputs, output_names=None, collect_statistics=False): class NNEFExecutor (line 351) | class NNEFExecutor(Executor): method __init__ (line 353) | def __init__(self, model_path, custom_operators, decomposed): method input_info (line 357) | def input_info(self): method output_info (line 361) | def output_info(self): method tensor_info (line 365) | def tensor_info(self): method __call__ (line 369) | def __call__(self, inputs, output_names=None, collect_statistics=False): function get_executor (line 377) | def get_executor(format, model_path, require_intermediates, custom_opera... function write_nnef_tensor (line 390) | def write_nnef_tensor(filename, value): function write_statistics (line 399) | def write_statistics(filename, statistics): function get_custom_operators (line 407) | def get_custom_operators(module_names): function batched_info (line 419) | def batched_info(tensor_info, batch_size): function accumulate_statistics (line 428) | def accumulate_statistics(global_stats, local_stats): function main (line 436) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/execution/tvm/nnef_frontend/relax/nnef_frontend.py function get_type (line 29) | def get_type(elem_type: str): class NNEFConverter (line 48) | class NNEFConverter: method __init__ (line 65) | def __init__(self, keep_params_in_input=False): method from_nnef (line 75) | def from_nnef(self, graph: nnef.Graph) -> tvm.IRModule: method _parse_inputs (line 119) | def _parse_inputs(self, graph): method _construct_nodes (line 127) | def _construct_nodes(self, graph): method _set_operator (line 146) | def _set_operator(self, node): method _set_const (line 186) | def _set_const(self, node): method _set_variable (line 198) | def _set_variable(self, tensor): method _set_literal_inputs (line 209) | def _set_literal_inputs(self, node): method _get_relay_op_call (line 222) | def _get_relay_op_call(self, name, inputs, attrs): method _infer_type (line 235) | def _infer_type(self, val): method _new_var (line 261) | def _new_var(self, name, shape, dtype="float32"): function from_nnef (line 268) | def from_nnef( FILE: nnef_tools-pyproject/nnef_tools/execution/tvm/nnef_frontend/relax/nnef_ops.py function dimension_picker (line 33) | def dimension_picker(prefix, kernel_shape, suffix=""): function _size_conv (line 56) | def _size_conv(size, rank): function _stride_conv (line 87) | def _stride_conv(stride, rank): function _padding_conv (line 121) | def _padding_conv(padding, rank, keepdims=False): function _calculate_nnef_padding (line 193) | def _calculate_nnef_padding(active_shape, strides, kernel_shape, dilation): function _calculate_nnef_padding_deconv (line 218) | def _calculate_nnef_padding_deconv(data_sh, strides, kernel_active_sh, d... function __unexpected_attrs (line 227) | def __unexpected_attrs(op, kwargs): function _get_converter_map (line 237) | def _get_converter_map(): function ndop (line 369) | def ndop(*args, **kwargs): function copy_converter (line 377) | def copy_converter(bbuilder, data, **kwargs): function neg_converter (line 385) | def neg_converter(bbuilder, data, **kwargs): function rcp_converter (line 393) | def rcp_converter(bbuilder, data, **kwargs): function exp_converter (line 406) | def exp_converter(bbuilder, data, **kwargs): function log_converter (line 414) | def log_converter(bbuilder, data, **kwargs): function sin_converter (line 422) | def sin_converter(bbuilder, data, **kwargs): function cos_converter (line 430) | def cos_converter(bbuilder, data, **kwargs): function tan_converter (line 438) | def tan_converter(bbuilder, data, **kwargs): function sinh_converter (line 446) | def sinh_converter(bbuilder, data, **kwargs): function cosh_converter (line 454) | def cosh_converter(bbuilder, data, **kwargs): function tanh_converter (line 462) | def tanh_converter(bbuilder, data, **kwargs): function asin_converter (line 470) | def asin_converter(bbuilder, data, **kwargs): function acos_converter (line 478) | def acos_converter(bbuilder, data, **kwargs): function atan_converter (line 486) | def atan_converter(bbuilder, data, **kwargs): function asinh_converter (line 494) | def asinh_converter(bbuilder, data, **kwargs): function acosh_converter (line 502) | def acosh_converter(bbuilder, data, **kwargs): function atanh_converter (line 510) | def atanh_converter(bbuilder, data, **kwargs): function abs_converter (line 518) | def abs_converter(bbuilder, data, **kwargs): function sign_converter (line 526) | def sign_converter(bbuilder, data, **kwargs): function not_converter (line 534) | def not_converter(bbuilder, data, **kwargs): function floor_converter (line 542) | def floor_converter(bbuilder, data, **kwargs): function ceil_converter (line 550) | def ceil_converter(bbuilder, data, **kwargs): function round_converter (line 558) | def round_converter(bbuilder, data, **kwargs): function add_converter (line 569) | def add_converter(bbuilder, lhs, rhs, **kwargs): function sub_converter (line 577) | def sub_converter(bbuilder, lhs, rhs, **kwargs): function mul_converter (line 585) | def mul_converter(bbuilder, lhs, rhs, **kwargs): function div_converter (line 604) | def div_converter(bbuilder, lhs, rhs, **kwargs): function pow_converter (line 612) | def pow_converter(bbuilder, lhs, rhs, **kwargs): function lt_converter (line 620) | def lt_converter(bbuilder, lhs, rhs, **kwargs): function gt_converter (line 628) | def gt_converter(bbuilder, lhs, rhs, **kwargs): function le_converter (line 636) | def le_converter(bbuilder, lhs, rhs, **kwargs): function ge_converter (line 644) | def ge_converter(bbuilder, lhs, rhs, **kwargs): function eq_converter (line 652) | def eq_converter(bbuilder, lhs, rhs, **kwargs): function ne_converter (line 660) | def ne_converter(bbuilder, lhs, rhs, **kwargs): function and_converter (line 668) | def and_converter(bbuilder, lhs, rhs, **kwargs): function or_converter (line 676) | def or_converter(bbuilder, lhs, rhs, **kwargs): function select_converter (line 687) | def select_converter(bbuilder, condition, t_val, f_val, **kwargs): function sqr_converter (line 698) | def sqr_converter(bbuilder, data, **kwargs): function sqrt_converter (line 708) | def sqrt_converter(bbuilder, data, **kwargs): function rsqr_converter (line 716) | def rsqr_converter(bbuilder, data, **kwargs): function rsqrt_converter (line 729) | def rsqrt_converter(bbuilder, data, **kwargs): function log2_converter (line 737) | def log2_converter(bbuilder, data, **kwargs): function min_converter (line 746) | def min_converter(bbuilder, lhs, rhs, **kwargs): function max_converter (line 754) | def max_converter(bbuilder, lhs, rhs, **kwargs): function clamp_converter (line 762) | def clamp_converter(bbuilder, x, a, b, **kwargs): function conv_converter (line 779) | def conv_converter( function deconv_converter (line 850) | def deconv_converter( function box_converter (line 928) | def box_converter(bbuilder, data, size, border, padding, stride, dilatio... function debox_converter (line 992) | def debox_converter( function nearest_downsample_converter (line 1030) | def nearest_downsample_converter(bbuilder, data, factor, **kwargs): function area_downsample_converter (line 1049) | def area_downsample_converter(bbuilder, data, factor, **kwargs): function nearest_upsample_converter (line 1068) | def nearest_upsample_converter(bbuilder, data, factor, **kwargs): function multilinear_upsample_converter (line 1098) | def multilinear_upsample_converter(bbuilder, data, factor, method, borde... function sum_reduce_converter (line 1209) | def sum_reduce_converter(bbuilder, data, axes, normalize, keepdims=True,... function max_reduce_converter (line 1221) | def max_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function min_reduce_converter (line 1229) | def min_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function argmax_reduce_converter (line 1237) | def argmax_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function argmin_reduce_converter (line 1246) | def argmin_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function all_reduce_converter (line 1255) | def all_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function any_reduce_converter (line 1264) | def any_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function mean_reduce_converter (line 1273) | def mean_reduce_converter(bbuilder, data, axes, keepdims=True, **kwargs): function reshape_converter (line 1284) | def reshape_converter(bbuilder, data, shape, axis_start, axis_count, **k... function squeeze_converter (line 1299) | def squeeze_converter(bbuilder, data, axes, **kwargs): function unsqueeze_converter (line 1307) | def unsqueeze_converter(bbuilder, data, axes, **kwargs): function transpose_converter (line 1321) | def transpose_converter(bbuilder, data, axes, **kwargs): function split_converter (line 1329) | def split_converter(bbuilder, data, axis, ratios, **kwargs): function concat_converter (line 1348) | def concat_converter(bbuilder, *data, axis, **kwargs): function stack_converter (line 1356) | def stack_converter(bbuilder, *data, axis, **kwargs): function unstack_converter (line 1366) | def unstack_converter(bbuilder, data, axis, **kwargs): function slice_converter (line 1382) | def slice_converter(bbuilder, data, axes, begin, end, stride, **kwargs): function pad_converter (line 1393) | def pad_converter(bbuilder, data, padding, border, value, **kwargs): function tile_converter (line 1420) | def tile_converter(bbuilder, data, repeats, **kwargs): function matmul_converter (line 1432) | def matmul_converter(bbuilder, a, b, **kwargs): function sigmoid_converter (line 1465) | def sigmoid_converter(bbuilder, data, **kwargs): function relu_converter (line 1473) | def relu_converter(bbuilder, data, **kwargs): function prelu_converter (line 1481) | def prelu_converter(bbuilder, data, alpha, **kwargs): function leaky_relu_converter (line 1504) | def leaky_relu_converter(bbuilder, data, alpha, **kwargs): function elu_converter (line 1512) | def elu_converter(bbuilder, data, alpha, **kwargs): function selu_converter (line 1529) | def selu_converter(bbuilder, data, alpha, **kwargs): function gelu_converter (line 1553) | def gelu_converter(bbuilder, data, **kwargs): function silu_converter (line 1570) | def silu_converter(bbuilder, data, **kwargs): function softmax_converter (line 1578) | def softmax_converter(bbuilder, data, axes, **kwargs): function softplus_converter (line 1590) | def softplus_converter(bbuilder, data, **kwargs): function linear_converter (line 1603) | def linear_converter(bbuilder, data, _filter, bias, **kwargs): function separable_conv_converter (line 1635) | def separable_conv_converter( function separable_deconv_converter (line 1674) | def separable_deconv_converter( function max_pool_converter (line 1717) | def max_pool_converter(bbuilder, data, size, border, padding, stride, di... function avg_pool_converter (line 1763) | def avg_pool_converter(bbuilder, data, size, border, padding, stride, di... function rms_pool_converter (line 1804) | def rms_pool_converter(bbuilder, data, size, border, padding, stride, di... function local_response_normalization_converter (line 1826) | def local_response_normalization_converter(bbuilder, data, size, alpha, ... function local_mean_normalization_converter (line 1842) | def local_mean_normalization_converter(bbuilder, data, size, **kwargs): function local_variance_normalization_converter (line 1853) | def local_variance_normalization_converter(bbuilder, data, size, bias, e... function local_contrast_normalization_converter (line 1881) | def local_contrast_normalization_converter(bbuilder, data, size, bias, e... function l1_normalization_converter (line 1891) | def l1_normalization_converter(bbuilder, data, axes, bias, epsilon, **kw... function l2_normalization_converter (line 1906) | def l2_normalization_converter(bbuilder, data, axes, bias, epsilon, **kw... function batch_normalization_converter (line 1929) | def batch_normalization_converter(bbuilder, data, mean, variance, offset... FILE: nnef_tools-pyproject/nnef_tools/execution/tvm/nnef_frontend/relay/from_nnef.py function get_type (line 31) | def get_type(elem_type: str): function make_parameter_span (line 49) | def make_parameter_span(source_name_list, name_sep="."): class NNEFConverter (line 54) | class NNEFConverter: method __init__ (line 69) | def __init__(self, freeze_vars=False): method from_nnef (line 78) | def from_nnef(self, graph: nnef.Graph) -> typing.Tuple[tvm.IRModule, d... method _parse_inputs (line 112) | def _parse_inputs(self, graph): method _construct_nodes (line 120) | def _construct_nodes(self, graph): method _set_operator (line 139) | def _set_operator(self, node): method _set_const (line 189) | def _set_const(self, node): method _set_variable (line 201) | def _set_variable(self, tensor): method _set_literal_inputs (line 213) | def _set_literal_inputs(self, node): method _set_parameter_span (line 226) | def _set_parameter_span(self, node, node_source_name): method _set_par_span_helper (line 234) | def _set_par_span_helper(self, node, node_source_name, name, field_name): method _get_relay_op_call (line 247) | def _get_relay_op_call(self, name, inputs, attrs): method _infer_type (line 259) | def _infer_type(self, val): function from_nnef (line 286) | def from_nnef( FILE: nnef_tools-pyproject/nnef_tools/execution/tvm/nnef_frontend/relay/nnef_ops.py function dimension_picker (line 33) | def dimension_picker(prefix, kernel_shape, suffix=""): function _size_conv (line 56) | def _size_conv(size, rank): function _stride_conv (line 87) | def _stride_conv(stride, rank): function _padding_conv (line 121) | def _padding_conv(padding, rank, keepdims=False): function _calculate_nnef_padding (line 193) | def _calculate_nnef_padding(active_shape, strides, kernel_shape, dilation): function _calculate_nnef_padding_deconv (line 218) | def _calculate_nnef_padding_deconv(data_sh, strides, kernel_active_sh, d... function __unexpected_attrs (line 227) | def __unexpected_attrs(op, kwargs): function _get_converter_map (line 237) | def _get_converter_map(): function ndop (line 367) | def ndop(*args, **kwargs): function copy_converter (line 374) | def copy_converter(data, **kwargs): function neg_converter (line 382) | def neg_converter(data, **kwargs): function rcp_converter (line 390) | def rcp_converter(data, **kwargs): function exp_converter (line 403) | def exp_converter(data, **kwargs): function log_converter (line 411) | def log_converter(data, **kwargs): function sin_converter (line 419) | def sin_converter(data, **kwargs): function cos_converter (line 427) | def cos_converter(data, **kwargs): function tan_converter (line 435) | def tan_converter(data, **kwargs): function sinh_converter (line 443) | def sinh_converter(data, **kwargs): function cosh_converter (line 451) | def cosh_converter(data, **kwargs): function tanh_converter (line 459) | def tanh_converter(data, **kwargs): function asin_converter (line 467) | def asin_converter(data, **kwargs): function acos_converter (line 475) | def acos_converter(data, **kwargs): function atan_converter (line 483) | def atan_converter(data, **kwargs): function asinh_converter (line 491) | def asinh_converter(data, **kwargs): function acosh_converter (line 499) | def acosh_converter(data, **kwargs): function atanh_converter (line 507) | def atanh_converter(data, **kwargs): function abs_converter (line 515) | def abs_converter(data, **kwargs): function sign_converter (line 523) | def sign_converter(data, **kwargs): function not_converter (line 531) | def not_converter(data, **kwargs): function floor_converter (line 539) | def floor_converter(data, **kwargs): function ceil_converter (line 547) | def ceil_converter(data, **kwargs): function round_converter (line 555) | def round_converter(data, **kwargs): function add_converter (line 566) | def add_converter(lhs, rhs, **kwargs): function sub_converter (line 574) | def sub_converter(lhs, rhs, **kwargs): function mul_converter (line 582) | def mul_converter(lhs, rhs, **kwargs): function div_converter (line 590) | def div_converter(lhs, rhs, **kwargs): function pow_converter (line 598) | def pow_converter(lhs, rhs, **kwargs): function lt_converter (line 606) | def lt_converter(lhs, rhs, **kwargs): function gt_converter (line 614) | def gt_converter(lhs, rhs, **kwargs): function le_converter (line 622) | def le_converter(lhs, rhs, **kwargs): function ge_converter (line 630) | def ge_converter(lhs, rhs, **kwargs): function eq_converter (line 638) | def eq_converter(lhs, rhs, **kwargs): function ne_converter (line 646) | def ne_converter(lhs, rhs, **kwargs): function and_converter (line 654) | def and_converter(lhs, rhs, **kwargs): function or_converter (line 662) | def or_converter(lhs, rhs, **kwargs): function select_converter (line 673) | def select_converter(condition, t_val, f_val, **kwargs): function sqr_converter (line 684) | def sqr_converter(data, **kwargs): function sqrt_converter (line 697) | def sqrt_converter(data, **kwargs): function rsqr_converter (line 705) | def rsqr_converter(data, **kwargs): function rsqrt_converter (line 718) | def rsqrt_converter(data, **kwargs): function log2_converter (line 726) | def log2_converter(data, **kwargs): function min_converter (line 734) | def min_converter(lhs, rhs, **kwargs): function max_converter (line 742) | def max_converter(lhs, rhs, **kwargs): function clamp_converter (line 750) | def clamp_converter(x, a, b, **kwargs): function conv_converter (line 765) | def conv_converter(data, kernel, bias, border, stride, padding, dilation... function deconv_converter (line 816) | def deconv_converter( function box_converter (line 880) | def box_converter(data, size, border, padding, stride, dilation, normali... function debox_converter (line 905) | def debox_converter( function nearest_downsample_converter (line 939) | def nearest_downsample_converter(data, factor, **kwargs): function area_downsample_converter (line 957) | def area_downsample_converter(data, factor, **kwargs): function nearest_upsample_converter (line 975) | def nearest_upsample_converter(data, factor, **kwargs): function multilinear_upsample_converter (line 993) | def multilinear_upsample_converter(data, factor, method, border, **kwargs): function sum_reduce_converter (line 1077) | def sum_reduce_converter(data, axes, normalize, keepdims=True, **kwargs): function max_reduce_converter (line 1089) | def max_reduce_converter(data, axes, keepdims=True, **kwargs): function min_reduce_converter (line 1097) | def min_reduce_converter(data, axes, keepdims=True, **kwargs): function argmax_reduce_converter (line 1105) | def argmax_reduce_converter(data, axes, keepdims=True, **kwargs): function argmin_reduce_converter (line 1113) | def argmin_reduce_converter(data, axes, keepdims=True, **kwargs): function all_reduce_converter (line 1121) | def all_reduce_converter(data, axes, keepdims=True, **kwargs): function any_reduce_converter (line 1129) | def any_reduce_converter(data, axes, keepdims=True, **kwargs): function mean_reduce_converter (line 1137) | def mean_reduce_converter(data, axes, keepdims=True, **kwargs): function reshape_converter (line 1148) | def reshape_converter(data, shape, axis_start, axis_count, **kwargs): function squeeze_converter (line 1163) | def squeeze_converter(data, axes, **kwargs): function unsqueeze_converter (line 1170) | def unsqueeze_converter(data, axes, **kwargs): function transpose_converter (line 1184) | def transpose_converter(data, axes, **kwargs): function split_converter (line 1192) | def split_converter(data, axis, ratios, **kwargs): function concat_converter (line 1211) | def concat_converter(*data, axis, **kwargs): function stack_converter (line 1219) | def stack_converter(*data, axis, **kwargs): function unstack_converter (line 1227) | def unstack_converter(data, axis, **kwargs): function slice_converter (line 1239) | def slice_converter(data, axes, begin, end, stride, **kwargs): function pad_converter (line 1250) | def pad_converter(data, padding, border, value, **kwargs): function tile_converter (line 1264) | def tile_converter(data, repeats, **kwargs): function matmul_converter (line 1276) | def matmul_converter(a, b, **kwargs): function sigmoid_converter (line 1328) | def sigmoid_converter(data, **kwargs): function relu_converter (line 1336) | def relu_converter(data, **kwargs): function prelu_converter (line 1344) | def prelu_converter(data, alpha, **kwargs): function leaky_relu_converter (line 1357) | def leaky_relu_converter(data, alpha, **kwargs): function elu_converter (line 1365) | def elu_converter(data, alpha, **kwargs): function selu_converter (line 1379) | def selu_converter(data, alpha, **kwargs): function gelu_converter (line 1399) | def gelu_converter(data, **kwargs): function silu_converter (line 1418) | def silu_converter(data, **kwargs): function softmax_converter (line 1426) | def softmax_converter(data, axes, **kwargs): function softplus_converter (line 1438) | def softplus_converter(data, **kwargs): function linear_converter (line 1449) | def linear_converter(data, _filter, bias, **kwargs): function separable_conv_converter (line 1468) | def separable_conv_converter( function separable_deconv_converter (line 1487) | def separable_deconv_converter( function max_pool_converter (line 1518) | def max_pool_converter(data, size, border, padding, stride, dilation, **... function avg_pool_converter (line 1555) | def avg_pool_converter(data, size, border, padding, stride, dilation, **... function rms_pool_converter (line 1588) | def rms_pool_converter(data, size, border, padding, stride, dilation, **... function local_response_normalization_converter (line 1608) | def local_response_normalization_converter(data, size, alpha, beta, bias): function local_mean_normalization_converter (line 1620) | def local_mean_normalization_converter(data, size, **kwargs): function local_variance_normalization_converter (line 1629) | def local_variance_normalization_converter(data, size, bias, epsilon, **... function local_contrast_normalization_converter (line 1643) | def local_contrast_normalization_converter(data, size, bias, epsilon, **... function l1_normalization_converter (line 1652) | def l1_normalization_converter(data, axes, bias, epsilon, **kwargs): function l2_normalization_converter (line 1663) | def l2_normalization_converter(data, axes, bias, epsilon, **kwargs): function batch_normalization_converter (line 1679) | def batch_normalization_converter(data, mean, variance, offset, scale, e... FILE: nnef_tools-pyproject/nnef_tools/generate.py function _is_lambda (line 22) | def _is_lambda(value): function _ensure_lambda (line 27) | def _ensure_lambda(value): function uniform (line 31) | def uniform(min=0.0, max=1.0): function normal (line 35) | def normal(mean=0.0, std=1.0): function bernoulli (line 39) | def bernoulli(prob=0.5): function integers (line 43) | def integers(min=0, max=100): function main (line 47) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/gmac.py function _volume (line 20) | def _volume(shape): function _count_macs (line 24) | def _count_macs(op, include_pooling, include_upsampling, include_normali... function get_custom_shapes (line 75) | def get_custom_shapes(module_names): function main (line 89) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/image_tensor.py function transform_image (line 28) | def transform_image(img, color, range, mean, std, size, dtype, data_form... function main (line 64) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/interpreter/__init__.py class Statistics (line 18) | class Statistics: method __init__ (line 20) | def __init__(self, num, min, max, sum, ssum): method __add__ (line 27) | def __add__(self, other): method mean (line 35) | def mean(self): method variance (line 38) | def variance(self, unbiased=True): method std (line 45) | def std(self, unbiased=True): FILE: nnef_tools-pyproject/nnef_tools/interpreter/pytorch/__init__.py class Interpreter (line 25) | class Interpreter: method __init__ (line 27) | def __init__(self, model, device=None, decomposed=None, custom_operato... method __call__ (line 43) | def __call__(self, inputs, output_names=None, collect_statistics=False): method input_details (line 73) | def input_details(self): method output_details (line 76) | def output_details(self): method tensor_details (line 79) | def tensor_details(self): method _compute_statistics (line 83) | def _compute_statistics(torch_tensor): method _init_input_shapes (line 97) | def _init_input_shapes(graph): FILE: nnef_tools-pyproject/nnef_tools/interpreter/pytorch/nnef_module.py class NNEFModule (line 27) | class NNEFModule(torch.nn.Module): method __init__ (line 33) | def __init__(self, method forward (line 76) | def forward(self, *inputs): method save_nnef (line 131) | def save_nnef(self, path): method activation_callback (line 141) | def activation_callback(self): method activation_callback (line 145) | def activation_callback(self, callback): method _is_variable (line 149) | def _is_variable(tensor): method _is_constant (line 153) | def _is_constant(tensor): method _as_numpy (line 157) | def _as_numpy(value, shape, dtype): method _escape_keyword (line 167) | def _escape_keyword(name): method _name_inline_constants (line 171) | def _name_inline_constants(graph): method _registered_name (line 180) | def _registered_name(name): method normalize_dtype (line 184) | def normalize_dtype(data): method _dequantize (line 189) | def _dequantize(data, quant, channel_axis): method _dequantize_zero_point (line 205) | def _dequantize_zero_point(data, zero_point, scale): method _dequantize_min_max (line 209) | def _dequantize_min_max(data, min, max, signed, symmetric, bits): method _fake_quantize (line 215) | def _fake_quantize(self, tensor, quant, channel_axis): method _ensure_rank (line 226) | def _ensure_rank(value, rank, offset=0): FILE: nnef_tools-pyproject/nnef_tools/interpreter/pytorch/nnef_operators.py function _clamp (line 48) | def _clamp(x, a, b): function _expand_to_rank (line 52) | def _expand_to_rank(input, rank): function _expand_binary (line 58) | def _expand_binary(input1, input2): function _binary (line 64) | def _binary(f): function _prod (line 72) | def _prod(items): function _same_padding (line 76) | def _same_padding(input, filter, stride, dilation): function _inverse_permutation (line 86) | def _inverse_permutation(perm): function _apply_permutation (line 93) | def _apply_permutation(items, perm): function _positive_pad (line 99) | def _positive_pad(input, padding, border='constant', value=0.0): function nnef_pad (line 129) | def nnef_pad(input, padding, border='constant', value=0.0): function nnef_add_n (line 159) | def nnef_add_n(values): function nnef_conv (line 163) | def nnef_conv(input, # type: torch.Tensor function nnef_deconv (line 200) | def nnef_deconv(input, # type: torch.Tensor function _evaluate_max_pool_or_box_params (line 286) | def _evaluate_max_pool_or_box_params(input_shape, size, padding, stride,... function _max_pool_impl (line 297) | def _max_pool_impl(input, # type: torch.Tensor function _box_impl (line 322) | def _box_impl(input, # type: torch.Tensor function _get_transform_for_box_or_max_pool (line 368) | def _get_transform_for_box_or_max_pool(input_shape, active): function _box_or_max_pool (line 387) | def _box_or_max_pool(input, # type: torch.Tensor function nnef_max_pool (line 458) | def nnef_max_pool(input, # type: torch.Tensor function nnef_max_pool_with_index (line 470) | def nnef_max_pool_with_index(input, # type: torch.Tensor function nnef_argmax_pool (line 501) | def nnef_argmax_pool(input, # type: torch.Tensor function nnef_box (line 514) | def nnef_box(input, # type: torch.Tensor function nnef_debox (line 527) | def nnef_debox(input, # type: torch.Tensor function nnef_avg_pool (line 566) | def nnef_avg_pool(input, # type: torch.Tensor function nnef_rms_pool (line 577) | def nnef_rms_pool(input, # type: torch.Tensor function nnef_desample (line 593) | def nnef_desample(input, # type: torch.Tensor function nnef_batch_normalization (line 648) | def nnef_batch_normalization(input, # type: torch.Tensor function _upsample_weights_1d (line 674) | def _upsample_weights_1d(factor, symmetric): function _upsample_weights_2d (line 683) | def _upsample_weights_2d(factor, symmetric): function _upsample_weights_nd (line 689) | def _upsample_weights_nd(factor, symmetric): function nnef_multilinear_upsample (line 694) | def nnef_multilinear_upsample(input, factor, method='symmetric', border=... function nnef_nearest_upsample (line 730) | def nnef_nearest_upsample(input, factor): function nnef_softmax (line 739) | def nnef_softmax(x, axes=None): function nnef_local_response_normalization (line 754) | def nnef_local_response_normalization(input, size, alpha=1.0, beta=0.5, ... function nnef_local_mean_normalization (line 761) | def nnef_local_mean_normalization(input, size): function nnef_local_variance_normalization (line 767) | def nnef_local_variance_normalization(input, size, bias=0.0, epsilon=0.0): function nnef_local_contrast_normalization (line 774) | def nnef_local_contrast_normalization(input, size, bias=0.0, epsilon=0.0): function nnef_l1_normalization (line 780) | def nnef_l1_normalization(input, axes, bias=0.0, epsilon=0.0): function nnef_l2_normalization (line 787) | def nnef_l2_normalization(input, axes, bias=0.0, epsilon=0.0): function nnef_matmul (line 794) | def nnef_matmul(A, B, transposeA=False, transposeB=False): function nnef_split (line 801) | def nnef_split(value, axis, ratios): function nnef_slice (line 810) | def nnef_slice(input, axes, begin, end, stride=None): function nnef_select (line 845) | def nnef_select(condition, true_value, false_value): function _nnef_generic_reduce (line 853) | def _nnef_generic_reduce(input, axes, f): function nnef_sum_reduce (line 862) | def nnef_sum_reduce(input, axes, normalize=False): function nnef_max_reduce (line 867) | def nnef_max_reduce(input, axes): function nnef_min_reduce (line 873) | def nnef_min_reduce(input, axes): function nnef_mean_reduce (line 879) | def nnef_mean_reduce(input, axes): function _nnef_argminmax_reduce (line 884) | def _nnef_argminmax_reduce(input, axes, argmin=False): function nnef_argmax_reduce (line 905) | def nnef_argmax_reduce(input, axes): function nnef_argmin_reduce (line 910) | def nnef_argmin_reduce(input, axes): function nnef_clamp (line 915) | def nnef_clamp(x, a, b): function nnef_nearest_downsample (line 924) | def nnef_nearest_downsample(input, factor): function nnef_area_downsample (line 930) | def nnef_area_downsample(input, factor): function nnef_moments (line 936) | def nnef_moments(input, axes): function nnef_linear (line 943) | def nnef_linear(input, filter, bias): function nnef_separable_conv (line 950) | def nnef_separable_conv(input, # type: torch.Tensor function nnef_separable_deconv (line 971) | def nnef_separable_deconv(input, # type: torch.Tensor function nnef_copy_n (line 996) | def nnef_copy_n(x, times): function nnef_zero_point_linear_quantize (line 1001) | def nnef_zero_point_linear_quantize(x, zero_point, scale, bits, signed, ... function nnef_min_max_linear_quantize (line 1011) | def nnef_min_max_linear_quantize(x, min, max, bits, signed, symmetric): function nnef_logarithmic_quantize (line 1020) | def nnef_logarithmic_quantize(x, max, bits): function nnef_reshape (line 1029) | def nnef_reshape(input, shape, axis_start=0, axis_count=-1): function nnef_update (line 1038) | def nnef_update(variable, value): function nnef_transpose (line 1043) | def nnef_transpose(input, axes): function nnef_squeeze (line 1047) | def nnef_squeeze(input, axes): function nnef_unsqueeze (line 1051) | def nnef_unsqueeze(input, axes): function nnef_cast (line 1055) | def nnef_cast(input, dtype): function nnef_gather (line 1059) | def nnef_gather(input, indices, axis): FILE: nnef_tools-pyproject/nnef_tools/io/caffe2/reader.py function TranslateArgmax (line 39) | def TranslateArgmax(layer, pretrained_blobs, is_test, **kwargs): function TranslateRelu (line 68) | def TranslateRelu(layer, pretrained_blobs, is_test, **kwargs): function _HookedTranslateLayer (line 78) | def _HookedTranslateLayer(layer, pretrained_blobs, is_test, **kwargs): function _caffe_to_caffe2 (line 95) | def _caffe_to_caffe2(prototxt, caffemodel): function _pre_translate (line 128) | def _pre_translate(layer, blobs): function _post_translate (line 144) | def _post_translate(layer, blobs, ops, params): function _fix_conv_pool_param (line 149) | def _fix_conv_pool_param(param): function _fix_eltwise_param (line 167) | def _fix_eltwise_param(param): function _fix_batch_norm_param (line 173) | def _fix_batch_norm_param(param, blobs): function _caffe2_net_to_onnx_model (line 179) | def _caffe2_net_to_onnx_model(predict_net, init_net, value_info): function _remove_unrecognized_attributes (line 192) | def _remove_unrecognized_attributes(net_def): function load_caffe_model (line 200) | def load_caffe_model(path): function load_caffe_model_as_onnx (line 214) | def load_caffe_model_as_onnx(path): function load_caffe2_model (line 221) | def load_caffe2_model(folder): function load_caffe2_model_as_onnx (line 236) | def load_caffe2_model_as_onnx(folder): class Reader (line 242) | class Reader: method __init__ (line 244) | def __init__(self, legacy=False): method __call__ (line 247) | def __call__(self, path): FILE: nnef_tools-pyproject/nnef_tools/io/caffe2/writer.py function save_caffe2_model (line 23) | def save_caffe2_model(folder, init_net, predict_net, value_info): function get_value_info (line 34) | def get_value_info(onnx_model): class Writer (line 46) | class Writer: method __init__ (line 48) | def __init__(self): method __call__ (line 51) | def __call__(self, graph, folder): FILE: nnef_tools-pyproject/nnef_tools/io/nnef/helpers.py function tgz_compress (line 19) | def tgz_compress(dir_path, file_path, compression_level=0): function tgz_extract (line 29) | def tgz_extract(file_path, dir_path): FILE: nnef_tools-pyproject/nnef_tools/io/nnef/reader.py function _recursive_itemize (line 38) | def _recursive_itemize(arg): function _make_constant_tensor (line 49) | def _make_constant_tensor(graph, value): function _make_tensor (line 54) | def _make_tensor(graph, nnef_tensor): function _build_graph (line 60) | def _build_graph(nnef_graph): function _substitute_empty_array (line 94) | def _substitute_empty_array(op, key, attribs, inputs): class Reader (line 107) | class Reader(object): method __init__ (line 109) | def __init__(self, stdlib=None, decomposed=None, custom_shapes=None, i... method __call__ (line 116) | def __call__(self, path, input_shapes=None): FILE: nnef_tools-pyproject/nnef_tools/io/nnef/writer.py function _nnef_dtype (line 53) | def _nnef_dtype(dtype): function _print (line 57) | def _print(graph, file, extensions, fragments, version_custom_ops, annot... function _write_tensor (line 115) | def _write_tensor(array, filename, quantized): function _write_quantization (line 124) | def _write_quantization(graph, file): function _printable_value (line 135) | def _printable_value(v): function _next_version (line 144) | def _next_version(name, versions): function _generate_custom_fragments (line 150) | def _generate_custom_fragments(graph, fragments, version): function _generate_fragment (line 156) | def _generate_fragment(op, versions): function _fragment_signature (line 166) | def _fragment_signature(name, dtype, attribs, inputs, outputs): function _make_attrib_type (line 181) | def _make_attrib_type(value): function _make_tensor_type (line 198) | def _make_tensor_type(value): function _types_str (line 212) | def _types_str(names, items, tensor): class Writer (line 217) | class Writer(object): method __init__ (line 219) | def __init__(self, compression=None, extensions=None, fragments=None, ... method __call__ (line 229) | def __call__(self, graph, path): method _used_operators (line 278) | def _used_operators(graph, dependencies): FILE: nnef_tools-pyproject/nnef_tools/io/onnx/reader.py function _get_shape (line 48) | def _get_shape(tensor_shape_proto): function _get_dtype (line 53) | def _get_dtype(dtype_int): function _get_field (line 57) | def _get_field(proto, name, default=None): function _get_value_info (line 61) | def _get_value_info(value_info_proto): function _get_tensor (line 68) | def _get_tensor(tensor_proto): function _get_tensor_data (line 110) | def _get_tensor_data(tensor_proto): function _get_tensors (line 115) | def _get_tensors(graph_proto, graph, tensors_by_name): function _get_node (line 148) | def _get_node(node_proto, graph, tensors_by_name): function _get_attribute (line 161) | def _get_attribute(attribute_proto, graph, tensors_by_name): function _get_block (line 194) | def _get_block(graph_proto, graph, tensors_by_name): function _set_input_shapes (line 236) | def _set_input_shapes(graph_proto, input_shapes): function _add_value_info_for_constants (line 247) | def _add_value_info_for_constants(model: onnx.ModelProto): function onnx_model_to_graph (line 303) | def onnx_model_to_graph(onnx_model): function read_tensor (line 314) | def read_tensor(filename): class Reader (line 319) | class Reader(object): method __init__ (line 321) | def __init__(self, simplify=False, optimize=None): method __call__ (line 325) | def __call__(self, filename, input_shapes=None): FILE: nnef_tools-pyproject/nnef_tools/io/onnx/writer.py function build_model (line 41) | def build_model(graph, ir_version, opset_version): function build_graph (line 54) | def build_graph(graph, graph_proto): function build_value_info (line 81) | def build_value_info(tensor, value_info_proto): function build_dtype (line 96) | def build_dtype(dtype): function build_attribute_type (line 101) | def build_attribute_type(name): function build_tensor_data (line 105) | def build_tensor_data(data, tensor_proto): function build_tensor_proto (line 125) | def build_tensor_proto(tensor, tensor_proto): function build_quantization (line 138) | def build_quantization(tensor, graph_proto): function build_node (line 156) | def build_node(op, node_proto, idx): function build_attribute (line 175) | def build_attribute(key, value, attribute_proto): class Writer (line 226) | class Writer(object): method __init__ (line 228) | def __init__(self, ir_version=6, opset_version=11): method __call__ (line 232) | def __call__(self, graph, filename): FILE: nnef_tools-pyproject/nnef_tools/io/tf/graphdef/__init__.py function save_default_graph (line 29) | def save_default_graph(filename, session, outputs, input_shapes=None, fo... function load_default_graph (line 58) | def load_default_graph(filename): FILE: nnef_tools-pyproject/nnef_tools/io/tf/graphdef/composite.py class _Composite (line 26) | class _Composite: method __init__ (line 30) | def __init__(self, id, func, attribs, inputs, outputs): method function (line 38) | def function(func): method name (line 68) | def name(self): function _is_tensor (line 75) | def _is_tensor(value): function _node_name_from_tensor (line 79) | def _node_name_from_tensor(name): function _input_name_from_tensor (line 88) | def _input_name_from_tensor(name): function _build_node_def (line 92) | def _build_node_def(composite): function _remap_tensors (line 111) | def _remap_tensors(tensors, graph): function _tensor_producers_and_consumers (line 115) | def _tensor_producers_and_consumers(graph): function _find_subgraph (line 126) | def _find_subgraph(composite, producers_and_consumers): function replace_composites_with_py_functions (line 144) | def replace_composites_with_py_functions(graph_def): function reset_composites (line 178) | def reset_composites(): FILE: nnef_tools-pyproject/nnef_tools/io/tf/graphdef/reader.py function _get_shape (line 49) | def _get_shape(shape_proto): function _get_dtype (line 54) | def _get_dtype(dtype_enum): function _get_nonempty_items (line 60) | def _get_nonempty_items(message, fields): function _get_tensor (line 69) | def _get_tensor(tensor_proto): function _get_func (line 96) | def _get_func(name_attrlist_proto): function _get_attribute (line 100) | def _get_attribute(field, value): function _get_attributes (line 120) | def _get_attributes(attr_map_proto): function _get_output_name (line 133) | def _get_output_name(node_name, idx): function _has_output_shapes (line 137) | def _has_output_shapes(graph_def): function _add_output_shapes (line 142) | def _add_output_shapes(graph_def): function _get_dtypes (line 154) | def _get_dtypes(graph_def): function _get_output_shapes (line 173) | def _get_output_shapes(attr_map_proto): function build_graph (line 183) | def build_graph(graph_def): function _unpack_custom_ops (line 218) | def _unpack_custom_ops(graph): function read_graphdef (line 227) | def read_graphdef(filename, input_shapes, fold_constants): class Reader (line 249) | class Reader(object): method __init__ (line 251) | def __init__(self, fold_constants=False): method __call__ (line 254) | def __call__(self, filename, input_shapes=None): FILE: nnef_tools-pyproject/nnef_tools/io/tf/graphdef/utils.py function import_graph_def (line 26) | def import_graph_def(graph_def): function export_graph_def (line 33) | def export_graph_def(graph): function reinfer_shapes (line 37) | def reinfer_shapes(graph_def): function _try_eval (line 41) | def _try_eval(tensor, session): function _build_node (line 52) | def _build_node(type, name, attribs, inputs): function _make_const_node (line 63) | def _make_const_node(value, name): function _make_identity_node (line 67) | def _make_identity_node(input, name, dtype, shape): function _freeze_shape_tensors (line 71) | def _freeze_shape_tensors(graph_def): function _remove_const_control_dependencies (line 95) | def _remove_const_control_dependencies(graph_def): function _remove_zero_index (line 106) | def _remove_zero_index(name): function _remove_const_identities (line 110) | def _remove_const_identities(graph_def): function _eval_candidates (line 131) | def _eval_candidates(graph): function _fold_constant_tensors (line 151) | def _fold_constant_tensors(graph_def): function _find_reachables_forward (line 189) | def _find_reachables_forward(graph, reachables): function _find_reachables_backward (line 200) | def _find_reachables_backward(graph, reachables): function _retain_nodes (line 213) | def _retain_nodes(graph_def, node_names): function _retain_reachables_from_placeholders (line 228) | def _retain_reachables_from_placeholders(graph_def): function _op_name_from_tensor (line 241) | def _op_name_from_tensor(name): function fold_constant_tensors (line 250) | def fold_constant_tensors(graph_def): function set_input_shapes (line 266) | def set_input_shapes(graph_def, input_shapes): function retain_reachables_from_outputs (line 301) | def retain_reachables_from_outputs(graph_def, output_names): function insert_rename_identities (line 309) | def insert_rename_identities(graph_def, tensor_rename): function check_finite (line 319) | def check_finite(graph_def): function check_variables (line 328) | def check_variables(session): FILE: nnef_tools-pyproject/nnef_tools/io/tf/graphdef/writer.py function _build_shape (line 52) | def _build_shape(shape_proto, shape): function _build_dtype (line 60) | def _build_dtype(dtype): function _build_tensor (line 64) | def _build_tensor(tensor_proto, data): function _build_attribute (line 75) | def _build_attribute(attr_proto, value): function _build_output_shapes (line 125) | def _build_output_shapes(attr_proto, output_shapes): function _tensor_name (line 130) | def _tensor_name(tensor): function _custom_attribs (line 136) | def _custom_attribs(operation): function _build_node (line 143) | def _build_node(node_def, operation): function build_graphdef (line 164) | def build_graphdef(graph): function write_graphdef (line 172) | def write_graphdef(graph, filename): class Writer (line 179) | class Writer(object): method __call__ (line 181) | def __call__(self, graph, filename): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/AbsOptions.py class AbsOptions (line 9) | class AbsOptions(object): method GetRootAsAbsOptions (line 13) | def GetRootAsAbsOptions(cls, buf, offset): method AbsOptionsBufferHasIdentifier (line 20) | def AbsOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function AbsOptionsStart (line 27) | def AbsOptionsStart(builder): builder.StartObject(0) function AbsOptionsEnd (line 28) | def AbsOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ActivationFunctionType.py class ActivationFunctionType (line 5) | class ActivationFunctionType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/AddNOptions.py class AddNOptions (line 9) | class AddNOptions(object): method GetRootAsAddNOptions (line 13) | def GetRootAsAddNOptions(cls, buf, offset): method AddNOptionsBufferHasIdentifier (line 20) | def AddNOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): function AddNOptionsStart (line 27) | def AddNOptionsStart(builder): builder.StartObject(0) function AddNOptionsEnd (line 28) | def AddNOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/AddOptions.py class AddOptions (line 9) | class AddOptions(object): method GetRootAsAddOptions (line 13) | def GetRootAsAddOptions(cls, buf, offset): method AddOptionsBufferHasIdentifier (line 20) | def AddOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): function AddOptionsStart (line 34) | def AddOptionsStart(builder): builder.StartObject(1) function AddOptionsAddFusedActivationFunction (line 35) | def AddOptionsAddFusedActivationFunction(builder, fusedActivationFunctio... function AddOptionsEnd (line 36) | def AddOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ArgMaxOptions.py class ArgMaxOptions (line 9) | class ArgMaxOptions(object): method GetRootAsArgMaxOptions (line 13) | def GetRootAsArgMaxOptions(cls, buf, offset): method ArgMaxOptionsBufferHasIdentifier (line 20) | def ArgMaxOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method OutputType (line 28) | def OutputType(self): function ArgMaxOptionsStart (line 34) | def ArgMaxOptionsStart(builder): builder.StartObject(1) function ArgMaxOptionsAddOutputType (line 35) | def ArgMaxOptionsAddOutputType(builder, outputType): builder.PrependInt8... function ArgMaxOptionsEnd (line 36) | def ArgMaxOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ArgMinOptions.py class ArgMinOptions (line 9) | class ArgMinOptions(object): method GetRootAsArgMinOptions (line 13) | def GetRootAsArgMinOptions(cls, buf, offset): method ArgMinOptionsBufferHasIdentifier (line 20) | def ArgMinOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method OutputType (line 28) | def OutputType(self): function ArgMinOptionsStart (line 34) | def ArgMinOptionsStart(builder): builder.StartObject(1) function ArgMinOptionsAddOutputType (line 35) | def ArgMinOptionsAddOutputType(builder, outputType): builder.PrependInt8... function ArgMinOptionsEnd (line 36) | def ArgMinOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BatchMatMulOptions.py class BatchMatMulOptions (line 9) | class BatchMatMulOptions(object): method GetRootAsBatchMatMulOptions (line 13) | def GetRootAsBatchMatMulOptions(cls, buf, offset): method BatchMatMulOptionsBufferHasIdentifier (line 20) | def BatchMatMulOptionsBufferHasIdentifier(cls, buf, offset, size_prefi... method Init (line 24) | def Init(self, buf, pos): method AdjX (line 28) | def AdjX(self): method AdjY (line 35) | def AdjY(self): function BatchMatMulOptionsStart (line 41) | def BatchMatMulOptionsStart(builder): builder.StartObject(2) function BatchMatMulOptionsAddAdjX (line 42) | def BatchMatMulOptionsAddAdjX(builder, adjX): builder.PrependBoolSlot(0,... function BatchMatMulOptionsAddAdjY (line 43) | def BatchMatMulOptionsAddAdjY(builder, adjY): builder.PrependBoolSlot(1,... function BatchMatMulOptionsEnd (line 44) | def BatchMatMulOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BatchToSpaceNDOptions.py class BatchToSpaceNDOptions (line 9) | class BatchToSpaceNDOptions(object): method GetRootAsBatchToSpaceNDOptions (line 13) | def GetRootAsBatchToSpaceNDOptions(cls, buf, offset): method BatchToSpaceNDOptionsBufferHasIdentifier (line 20) | def BatchToSpaceNDOptionsBufferHasIdentifier(cls, buf, offset, size_pr... method Init (line 24) | def Init(self, buf, pos): function BatchToSpaceNDOptionsStart (line 27) | def BatchToSpaceNDOptionsStart(builder): builder.StartObject(0) function BatchToSpaceNDOptionsEnd (line 28) | def BatchToSpaceNDOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BidirectionalSequenceLSTMOptions.py class BidirectionalSequenceLSTMOptions (line 9) | class BidirectionalSequenceLSTMOptions(object): method GetRootAsBidirectionalSequenceLSTMOptions (line 13) | def GetRootAsBidirectionalSequenceLSTMOptions(cls, buf, offset): method BidirectionalSequenceLSTMOptionsBufferHasIdentifier (line 20) | def BidirectionalSequenceLSTMOptionsBufferHasIdentifier(cls, buf, offs... method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): method CellClip (line 35) | def CellClip(self): method ProjClip (line 42) | def ProjClip(self): method MergeOutputs (line 49) | def MergeOutputs(self): method TimeMajor (line 56) | def TimeMajor(self): method AsymmetricQuantizeInputs (line 63) | def AsymmetricQuantizeInputs(self): function BidirectionalSequenceLSTMOptionsStart (line 69) | def BidirectionalSequenceLSTMOptionsStart(builder): builder.StartObject(6) function BidirectionalSequenceLSTMOptionsAddFusedActivationFunction (line 70) | def BidirectionalSequenceLSTMOptionsAddFusedActivationFunction(builder, ... function BidirectionalSequenceLSTMOptionsAddCellClip (line 71) | def BidirectionalSequenceLSTMOptionsAddCellClip(builder, cellClip): buil... function BidirectionalSequenceLSTMOptionsAddProjClip (line 72) | def BidirectionalSequenceLSTMOptionsAddProjClip(builder, projClip): buil... function BidirectionalSequenceLSTMOptionsAddMergeOutputs (line 73) | def BidirectionalSequenceLSTMOptionsAddMergeOutputs(builder, mergeOutput... function BidirectionalSequenceLSTMOptionsAddTimeMajor (line 74) | def BidirectionalSequenceLSTMOptionsAddTimeMajor(builder, timeMajor): bu... function BidirectionalSequenceLSTMOptionsAddAsymmetricQuantizeInputs (line 75) | def BidirectionalSequenceLSTMOptionsAddAsymmetricQuantizeInputs(builder,... function BidirectionalSequenceLSTMOptionsEnd (line 76) | def BidirectionalSequenceLSTMOptionsEnd(builder): return builder.EndObje... FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BidirectionalSequenceRNNOptions.py class BidirectionalSequenceRNNOptions (line 9) | class BidirectionalSequenceRNNOptions(object): method GetRootAsBidirectionalSequenceRNNOptions (line 13) | def GetRootAsBidirectionalSequenceRNNOptions(cls, buf, offset): method BidirectionalSequenceRNNOptionsBufferHasIdentifier (line 20) | def BidirectionalSequenceRNNOptionsBufferHasIdentifier(cls, buf, offse... method Init (line 24) | def Init(self, buf, pos): method TimeMajor (line 28) | def TimeMajor(self): method FusedActivationFunction (line 35) | def FusedActivationFunction(self): method MergeOutputs (line 42) | def MergeOutputs(self): method AsymmetricQuantizeInputs (line 49) | def AsymmetricQuantizeInputs(self): function BidirectionalSequenceRNNOptionsStart (line 55) | def BidirectionalSequenceRNNOptionsStart(builder): builder.StartObject(4) function BidirectionalSequenceRNNOptionsAddTimeMajor (line 56) | def BidirectionalSequenceRNNOptionsAddTimeMajor(builder, timeMajor): bui... function BidirectionalSequenceRNNOptionsAddFusedActivationFunction (line 57) | def BidirectionalSequenceRNNOptionsAddFusedActivationFunction(builder, f... function BidirectionalSequenceRNNOptionsAddMergeOutputs (line 58) | def BidirectionalSequenceRNNOptionsAddMergeOutputs(builder, mergeOutputs... function BidirectionalSequenceRNNOptionsAddAsymmetricQuantizeInputs (line 59) | def BidirectionalSequenceRNNOptionsAddAsymmetricQuantizeInputs(builder, ... function BidirectionalSequenceRNNOptionsEnd (line 60) | def BidirectionalSequenceRNNOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Buffer.py class Buffer (line 9) | class Buffer(object): method GetRootAsBuffer (line 13) | def GetRootAsBuffer(cls, buf, offset): method BufferBufferHasIdentifier (line 20) | def BufferBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method Data (line 28) | def Data(self, j): method DataAsNumpy (line 36) | def DataAsNumpy(self): method DataLength (line 43) | def DataLength(self): method DataIsNone (line 50) | def DataIsNone(self): function BufferStart (line 54) | def BufferStart(builder): builder.StartObject(1) function BufferAddData (line 55) | def BufferAddData(builder, data): builder.PrependUOffsetTRelativeSlot(0,... function BufferStartDataVector (line 56) | def BufferStartDataVector(builder, numElems): return builder.StartVector... function BufferEnd (line 57) | def BufferEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BuiltinOperator.py class BuiltinOperator (line 5) | class BuiltinOperator(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/BuiltinOptions.py class BuiltinOptions (line 5) | class BuiltinOptions(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CallOptions.py class CallOptions (line 9) | class CallOptions(object): method GetRootAsCallOptions (line 13) | def GetRootAsCallOptions(cls, buf, offset): method CallOptionsBufferHasIdentifier (line 20) | def CallOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method Subgraph (line 28) | def Subgraph(self): function CallOptionsStart (line 34) | def CallOptionsStart(builder): builder.StartObject(1) function CallOptionsAddSubgraph (line 35) | def CallOptionsAddSubgraph(builder, subgraph): builder.PrependUint32Slot... function CallOptionsEnd (line 36) | def CallOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CastOptions.py class CastOptions (line 9) | class CastOptions(object): method GetRootAsCastOptions (line 13) | def GetRootAsCastOptions(cls, buf, offset): method CastOptionsBufferHasIdentifier (line 20) | def CastOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method InDataType (line 28) | def InDataType(self): method OutDataType (line 35) | def OutDataType(self): function CastOptionsStart (line 41) | def CastOptionsStart(builder): builder.StartObject(2) function CastOptionsAddInDataType (line 42) | def CastOptionsAddInDataType(builder, inDataType): builder.PrependInt8Sl... function CastOptionsAddOutDataType (line 43) | def CastOptionsAddOutDataType(builder, outDataType): builder.PrependInt8... function CastOptionsEnd (line 44) | def CastOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CombinerType.py class CombinerType (line 5) | class CombinerType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ConcatEmbeddingsOptions.py class ConcatEmbeddingsOptions (line 9) | class ConcatEmbeddingsOptions(object): method GetRootAsConcatEmbeddingsOptions (line 13) | def GetRootAsConcatEmbeddingsOptions(cls, buf, offset): method ConcatEmbeddingsOptionsBufferHasIdentifier (line 20) | def ConcatEmbeddingsOptionsBufferHasIdentifier(cls, buf, offset, size_... method Init (line 24) | def Init(self, buf, pos): method NumChannels (line 28) | def NumChannels(self): method NumColumnsPerChannel (line 35) | def NumColumnsPerChannel(self, j): method NumColumnsPerChannelAsNumpy (line 43) | def NumColumnsPerChannelAsNumpy(self): method NumColumnsPerChannelLength (line 50) | def NumColumnsPerChannelLength(self): method NumColumnsPerChannelIsNone (line 57) | def NumColumnsPerChannelIsNone(self): method EmbeddingDimPerChannel (line 62) | def EmbeddingDimPerChannel(self, j): method EmbeddingDimPerChannelAsNumpy (line 70) | def EmbeddingDimPerChannelAsNumpy(self): method EmbeddingDimPerChannelLength (line 77) | def EmbeddingDimPerChannelLength(self): method EmbeddingDimPerChannelIsNone (line 84) | def EmbeddingDimPerChannelIsNone(self): function ConcatEmbeddingsOptionsStart (line 88) | def ConcatEmbeddingsOptionsStart(builder): builder.StartObject(3) function ConcatEmbeddingsOptionsAddNumChannels (line 89) | def ConcatEmbeddingsOptionsAddNumChannels(builder, numChannels): builder... function ConcatEmbeddingsOptionsAddNumColumnsPerChannel (line 90) | def ConcatEmbeddingsOptionsAddNumColumnsPerChannel(builder, numColumnsPe... function ConcatEmbeddingsOptionsStartNumColumnsPerChannelVector (line 91) | def ConcatEmbeddingsOptionsStartNumColumnsPerChannelVector(builder, numE... function ConcatEmbeddingsOptionsAddEmbeddingDimPerChannel (line 92) | def ConcatEmbeddingsOptionsAddEmbeddingDimPerChannel(builder, embeddingD... function ConcatEmbeddingsOptionsStartEmbeddingDimPerChannelVector (line 93) | def ConcatEmbeddingsOptionsStartEmbeddingDimPerChannelVector(builder, nu... function ConcatEmbeddingsOptionsEnd (line 94) | def ConcatEmbeddingsOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ConcatenationOptions.py class ConcatenationOptions (line 9) | class ConcatenationOptions(object): method GetRootAsConcatenationOptions (line 13) | def GetRootAsConcatenationOptions(cls, buf, offset): method ConcatenationOptionsBufferHasIdentifier (line 20) | def ConcatenationOptionsBufferHasIdentifier(cls, buf, offset, size_pre... method Init (line 24) | def Init(self, buf, pos): method Axis (line 28) | def Axis(self): method FusedActivationFunction (line 35) | def FusedActivationFunction(self): function ConcatenationOptionsStart (line 41) | def ConcatenationOptionsStart(builder): builder.StartObject(2) function ConcatenationOptionsAddAxis (line 42) | def ConcatenationOptionsAddAxis(builder, axis): builder.PrependInt32Slot... function ConcatenationOptionsAddFusedActivationFunction (line 43) | def ConcatenationOptionsAddFusedActivationFunction(builder, fusedActivat... function ConcatenationOptionsEnd (line 44) | def ConcatenationOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Conv2DOptions.py class Conv2DOptions (line 9) | class Conv2DOptions(object): method GetRootAsConv2DOptions (line 13) | def GetRootAsConv2DOptions(cls, buf, offset): method Conv2DOptionsBufferHasIdentifier (line 20) | def Conv2DOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method Padding (line 28) | def Padding(self): method StrideW (line 35) | def StrideW(self): method StrideH (line 42) | def StrideH(self): method FusedActivationFunction (line 49) | def FusedActivationFunction(self): method DilationWFactor (line 56) | def DilationWFactor(self): method DilationHFactor (line 63) | def DilationHFactor(self): function Conv2DOptionsStart (line 69) | def Conv2DOptionsStart(builder): builder.StartObject(6) function Conv2DOptionsAddPadding (line 70) | def Conv2DOptionsAddPadding(builder, padding): builder.PrependInt8Slot(0... function Conv2DOptionsAddStrideW (line 71) | def Conv2DOptionsAddStrideW(builder, strideW): builder.PrependInt32Slot(... function Conv2DOptionsAddStrideH (line 72) | def Conv2DOptionsAddStrideH(builder, strideH): builder.PrependInt32Slot(... function Conv2DOptionsAddFusedActivationFunction (line 73) | def Conv2DOptionsAddFusedActivationFunction(builder, fusedActivationFunc... function Conv2DOptionsAddDilationWFactor (line 74) | def Conv2DOptionsAddDilationWFactor(builder, dilationWFactor): builder.P... function Conv2DOptionsAddDilationHFactor (line 75) | def Conv2DOptionsAddDilationHFactor(builder, dilationHFactor): builder.P... function Conv2DOptionsEnd (line 76) | def Conv2DOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CosOptions.py class CosOptions (line 9) | class CosOptions(object): method GetRootAsCosOptions (line 13) | def GetRootAsCosOptions(cls, buf, offset): method CosOptionsBufferHasIdentifier (line 20) | def CosOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function CosOptionsStart (line 27) | def CosOptionsStart(builder): builder.StartObject(0) function CosOptionsEnd (line 28) | def CosOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CustomOptionsFormat.py class CustomOptionsFormat (line 5) | class CustomOptionsFormat(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/CustomQuantization.py class CustomQuantization (line 9) | class CustomQuantization(object): method GetRootAsCustomQuantization (line 13) | def GetRootAsCustomQuantization(cls, buf, offset): method CustomQuantizationBufferHasIdentifier (line 20) | def CustomQuantizationBufferHasIdentifier(cls, buf, offset, size_prefi... method Init (line 24) | def Init(self, buf, pos): method Custom (line 28) | def Custom(self, j): method CustomAsNumpy (line 36) | def CustomAsNumpy(self): method CustomLength (line 43) | def CustomLength(self): method CustomIsNone (line 50) | def CustomIsNone(self): function CustomQuantizationStart (line 54) | def CustomQuantizationStart(builder): builder.StartObject(1) function CustomQuantizationAddCustom (line 55) | def CustomQuantizationAddCustom(builder, custom): builder.PrependUOffset... function CustomQuantizationStartCustomVector (line 56) | def CustomQuantizationStartCustomVector(builder, numElems): return build... function CustomQuantizationEnd (line 57) | def CustomQuantizationEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DensifyOptions.py class DensifyOptions (line 9) | class DensifyOptions(object): method GetRootAsDensifyOptions (line 13) | def GetRootAsDensifyOptions(cls, buf, offset): method DensifyOptionsBufferHasIdentifier (line 20) | def DensifyOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): function DensifyOptionsStart (line 27) | def DensifyOptionsStart(builder): builder.StartObject(0) function DensifyOptionsEnd (line 28) | def DensifyOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DepthToSpaceOptions.py class DepthToSpaceOptions (line 9) | class DepthToSpaceOptions(object): method GetRootAsDepthToSpaceOptions (line 13) | def GetRootAsDepthToSpaceOptions(cls, buf, offset): method DepthToSpaceOptionsBufferHasIdentifier (line 20) | def DepthToSpaceOptionsBufferHasIdentifier(cls, buf, offset, size_pref... method Init (line 24) | def Init(self, buf, pos): method BlockSize (line 28) | def BlockSize(self): function DepthToSpaceOptionsStart (line 34) | def DepthToSpaceOptionsStart(builder): builder.StartObject(1) function DepthToSpaceOptionsAddBlockSize (line 35) | def DepthToSpaceOptionsAddBlockSize(builder, blockSize): builder.Prepend... function DepthToSpaceOptionsEnd (line 36) | def DepthToSpaceOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DepthwiseConv2DOptions.py class DepthwiseConv2DOptions (line 9) | class DepthwiseConv2DOptions(object): method GetRootAsDepthwiseConv2DOptions (line 13) | def GetRootAsDepthwiseConv2DOptions(cls, buf, offset): method DepthwiseConv2DOptionsBufferHasIdentifier (line 20) | def DepthwiseConv2DOptionsBufferHasIdentifier(cls, buf, offset, size_p... method Init (line 24) | def Init(self, buf, pos): method Padding (line 28) | def Padding(self): method StrideW (line 35) | def StrideW(self): method StrideH (line 42) | def StrideH(self): method DepthMultiplier (line 49) | def DepthMultiplier(self): method FusedActivationFunction (line 56) | def FusedActivationFunction(self): method DilationWFactor (line 63) | def DilationWFactor(self): method DilationHFactor (line 70) | def DilationHFactor(self): function DepthwiseConv2DOptionsStart (line 76) | def DepthwiseConv2DOptionsStart(builder): builder.StartObject(7) function DepthwiseConv2DOptionsAddPadding (line 77) | def DepthwiseConv2DOptionsAddPadding(builder, padding): builder.PrependI... function DepthwiseConv2DOptionsAddStrideW (line 78) | def DepthwiseConv2DOptionsAddStrideW(builder, strideW): builder.PrependI... function DepthwiseConv2DOptionsAddStrideH (line 79) | def DepthwiseConv2DOptionsAddStrideH(builder, strideH): builder.PrependI... function DepthwiseConv2DOptionsAddDepthMultiplier (line 80) | def DepthwiseConv2DOptionsAddDepthMultiplier(builder, depthMultiplier): ... function DepthwiseConv2DOptionsAddFusedActivationFunction (line 81) | def DepthwiseConv2DOptionsAddFusedActivationFunction(builder, fusedActiv... function DepthwiseConv2DOptionsAddDilationWFactor (line 82) | def DepthwiseConv2DOptionsAddDilationWFactor(builder, dilationWFactor): ... function DepthwiseConv2DOptionsAddDilationHFactor (line 83) | def DepthwiseConv2DOptionsAddDilationHFactor(builder, dilationHFactor): ... function DepthwiseConv2DOptionsEnd (line 84) | def DepthwiseConv2DOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DequantizeOptions.py class DequantizeOptions (line 9) | class DequantizeOptions(object): method GetRootAsDequantizeOptions (line 13) | def GetRootAsDequantizeOptions(cls, buf, offset): method DequantizeOptionsBufferHasIdentifier (line 20) | def DequantizeOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function DequantizeOptionsStart (line 27) | def DequantizeOptionsStart(builder): builder.StartObject(0) function DequantizeOptionsEnd (line 28) | def DequantizeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DimensionMetadata.py class DimensionMetadata (line 9) | class DimensionMetadata(object): method GetRootAsDimensionMetadata (line 13) | def GetRootAsDimensionMetadata(cls, buf, offset): method DimensionMetadataBufferHasIdentifier (line 20) | def DimensionMetadataBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): method Format (line 28) | def Format(self): method DenseSize (line 35) | def DenseSize(self): method ArraySegmentsType (line 42) | def ArraySegmentsType(self): method ArraySegments (line 49) | def ArraySegments(self): method ArrayIndicesType (line 59) | def ArrayIndicesType(self): method ArrayIndices (line 66) | def ArrayIndices(self): function DimensionMetadataStart (line 75) | def DimensionMetadataStart(builder): builder.StartObject(6) function DimensionMetadataAddFormat (line 76) | def DimensionMetadataAddFormat(builder, format): builder.PrependInt8Slot... function DimensionMetadataAddDenseSize (line 77) | def DimensionMetadataAddDenseSize(builder, denseSize): builder.PrependIn... function DimensionMetadataAddArraySegmentsType (line 78) | def DimensionMetadataAddArraySegmentsType(builder, arraySegmentsType): b... function DimensionMetadataAddArraySegments (line 79) | def DimensionMetadataAddArraySegments(builder, arraySegments): builder.P... function DimensionMetadataAddArrayIndicesType (line 80) | def DimensionMetadataAddArrayIndicesType(builder, arrayIndicesType): bui... function DimensionMetadataAddArrayIndices (line 81) | def DimensionMetadataAddArrayIndices(builder, arrayIndices): builder.Pre... function DimensionMetadataEnd (line 82) | def DimensionMetadataEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DimensionType.py class DimensionType (line 5) | class DimensionType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/DivOptions.py class DivOptions (line 9) | class DivOptions(object): method GetRootAsDivOptions (line 13) | def GetRootAsDivOptions(cls, buf, offset): method DivOptionsBufferHasIdentifier (line 20) | def DivOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): function DivOptionsStart (line 34) | def DivOptionsStart(builder): builder.StartObject(1) function DivOptionsAddFusedActivationFunction (line 35) | def DivOptionsAddFusedActivationFunction(builder, fusedActivationFunctio... function DivOptionsEnd (line 36) | def DivOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/EmbeddingLookupSparseOptions.py class EmbeddingLookupSparseOptions (line 9) | class EmbeddingLookupSparseOptions(object): method GetRootAsEmbeddingLookupSparseOptions (line 13) | def GetRootAsEmbeddingLookupSparseOptions(cls, buf, offset): method EmbeddingLookupSparseOptionsBufferHasIdentifier (line 20) | def EmbeddingLookupSparseOptionsBufferHasIdentifier(cls, buf, offset, ... method Init (line 24) | def Init(self, buf, pos): method Combiner (line 28) | def Combiner(self): function EmbeddingLookupSparseOptionsStart (line 34) | def EmbeddingLookupSparseOptionsStart(builder): builder.StartObject(1) function EmbeddingLookupSparseOptionsAddCombiner (line 35) | def EmbeddingLookupSparseOptionsAddCombiner(builder, combiner): builder.... function EmbeddingLookupSparseOptionsEnd (line 36) | def EmbeddingLookupSparseOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/EqualOptions.py class EqualOptions (line 9) | class EqualOptions(object): method GetRootAsEqualOptions (line 13) | def GetRootAsEqualOptions(cls, buf, offset): method EqualOptionsBufferHasIdentifier (line 20) | def EqualOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): function EqualOptionsStart (line 27) | def EqualOptionsStart(builder): builder.StartObject(0) function EqualOptionsEnd (line 28) | def EqualOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ExpOptions.py class ExpOptions (line 9) | class ExpOptions(object): method GetRootAsExpOptions (line 13) | def GetRootAsExpOptions(cls, buf, offset): method ExpOptionsBufferHasIdentifier (line 20) | def ExpOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function ExpOptionsStart (line 27) | def ExpOptionsStart(builder): builder.StartObject(0) function ExpOptionsEnd (line 28) | def ExpOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ExpandDimsOptions.py class ExpandDimsOptions (line 9) | class ExpandDimsOptions(object): method GetRootAsExpandDimsOptions (line 13) | def GetRootAsExpandDimsOptions(cls, buf, offset): method ExpandDimsOptionsBufferHasIdentifier (line 20) | def ExpandDimsOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function ExpandDimsOptionsStart (line 27) | def ExpandDimsOptionsStart(builder): builder.StartObject(0) function ExpandDimsOptionsEnd (line 28) | def ExpandDimsOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FakeQuantOptions.py class FakeQuantOptions (line 9) | class FakeQuantOptions(object): method GetRootAsFakeQuantOptions (line 13) | def GetRootAsFakeQuantOptions(cls, buf, offset): method FakeQuantOptionsBufferHasIdentifier (line 20) | def FakeQuantOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): method Min (line 28) | def Min(self): method Max (line 35) | def Max(self): method NumBits (line 42) | def NumBits(self): method NarrowRange (line 49) | def NarrowRange(self): function FakeQuantOptionsStart (line 55) | def FakeQuantOptionsStart(builder): builder.StartObject(4) function FakeQuantOptionsAddMin (line 56) | def FakeQuantOptionsAddMin(builder, min): builder.PrependFloat32Slot(0, ... function FakeQuantOptionsAddMax (line 57) | def FakeQuantOptionsAddMax(builder, max): builder.PrependFloat32Slot(1, ... function FakeQuantOptionsAddNumBits (line 58) | def FakeQuantOptionsAddNumBits(builder, numBits): builder.PrependInt32Sl... function FakeQuantOptionsAddNarrowRange (line 59) | def FakeQuantOptionsAddNarrowRange(builder, narrowRange): builder.Prepen... function FakeQuantOptionsEnd (line 60) | def FakeQuantOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FillOptions.py class FillOptions (line 9) | class FillOptions(object): method GetRootAsFillOptions (line 13) | def GetRootAsFillOptions(cls, buf, offset): method FillOptionsBufferHasIdentifier (line 20) | def FillOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): function FillOptionsStart (line 27) | def FillOptionsStart(builder): builder.StartObject(0) function FillOptionsEnd (line 28) | def FillOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FloorDivOptions.py class FloorDivOptions (line 9) | class FloorDivOptions(object): method GetRootAsFloorDivOptions (line 13) | def GetRootAsFloorDivOptions(cls, buf, offset): method FloorDivOptionsBufferHasIdentifier (line 20) | def FloorDivOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function FloorDivOptionsStart (line 27) | def FloorDivOptionsStart(builder): builder.StartObject(0) function FloorDivOptionsEnd (line 28) | def FloorDivOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FloorModOptions.py class FloorModOptions (line 9) | class FloorModOptions(object): method GetRootAsFloorModOptions (line 13) | def GetRootAsFloorModOptions(cls, buf, offset): method FloorModOptionsBufferHasIdentifier (line 20) | def FloorModOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function FloorModOptionsStart (line 27) | def FloorModOptionsStart(builder): builder.StartObject(0) function FloorModOptionsEnd (line 28) | def FloorModOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FullyConnectedOptions.py class FullyConnectedOptions (line 9) | class FullyConnectedOptions(object): method GetRootAsFullyConnectedOptions (line 13) | def GetRootAsFullyConnectedOptions(cls, buf, offset): method FullyConnectedOptionsBufferHasIdentifier (line 20) | def FullyConnectedOptionsBufferHasIdentifier(cls, buf, offset, size_pr... method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): method WeightsFormat (line 35) | def WeightsFormat(self): method KeepNumDims (line 42) | def KeepNumDims(self): method AsymmetricQuantizeInputs (line 49) | def AsymmetricQuantizeInputs(self): function FullyConnectedOptionsStart (line 55) | def FullyConnectedOptionsStart(builder): builder.StartObject(4) function FullyConnectedOptionsAddFusedActivationFunction (line 56) | def FullyConnectedOptionsAddFusedActivationFunction(builder, fusedActiva... function FullyConnectedOptionsAddWeightsFormat (line 57) | def FullyConnectedOptionsAddWeightsFormat(builder, weightsFormat): build... function FullyConnectedOptionsAddKeepNumDims (line 58) | def FullyConnectedOptionsAddKeepNumDims(builder, keepNumDims): builder.P... function FullyConnectedOptionsAddAsymmetricQuantizeInputs (line 59) | def FullyConnectedOptionsAddAsymmetricQuantizeInputs(builder, asymmetric... function FullyConnectedOptionsEnd (line 60) | def FullyConnectedOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/FullyConnectedOptionsWeightsFormat.py class FullyConnectedOptionsWeightsFormat (line 5) | class FullyConnectedOptionsWeightsFormat(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/GatherNdOptions.py class GatherNdOptions (line 9) | class GatherNdOptions(object): method GetRootAsGatherNdOptions (line 13) | def GetRootAsGatherNdOptions(cls, buf, offset): method GatherNdOptionsBufferHasIdentifier (line 20) | def GatherNdOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function GatherNdOptionsStart (line 27) | def GatherNdOptionsStart(builder): builder.StartObject(0) function GatherNdOptionsEnd (line 28) | def GatherNdOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/GatherOptions.py class GatherOptions (line 9) | class GatherOptions(object): method GetRootAsGatherOptions (line 13) | def GetRootAsGatherOptions(cls, buf, offset): method GatherOptionsBufferHasIdentifier (line 20) | def GatherOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method Axis (line 28) | def Axis(self): function GatherOptionsStart (line 34) | def GatherOptionsStart(builder): builder.StartObject(1) function GatherOptionsAddAxis (line 35) | def GatherOptionsAddAxis(builder, axis): builder.PrependInt32Slot(0, axi... function GatherOptionsEnd (line 36) | def GatherOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/GreaterEqualOptions.py class GreaterEqualOptions (line 9) | class GreaterEqualOptions(object): method GetRootAsGreaterEqualOptions (line 13) | def GetRootAsGreaterEqualOptions(cls, buf, offset): method GreaterEqualOptionsBufferHasIdentifier (line 20) | def GreaterEqualOptionsBufferHasIdentifier(cls, buf, offset, size_pref... method Init (line 24) | def Init(self, buf, pos): function GreaterEqualOptionsStart (line 27) | def GreaterEqualOptionsStart(builder): builder.StartObject(0) function GreaterEqualOptionsEnd (line 28) | def GreaterEqualOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/GreaterOptions.py class GreaterOptions (line 9) | class GreaterOptions(object): method GetRootAsGreaterOptions (line 13) | def GetRootAsGreaterOptions(cls, buf, offset): method GreaterOptionsBufferHasIdentifier (line 20) | def GreaterOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): function GreaterOptionsStart (line 27) | def GreaterOptionsStart(builder): builder.StartObject(0) function GreaterOptionsEnd (line 28) | def GreaterOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/HardSwishOptions.py class HardSwishOptions (line 9) | class HardSwishOptions(object): method GetRootAsHardSwishOptions (line 13) | def GetRootAsHardSwishOptions(cls, buf, offset): method HardSwishOptionsBufferHasIdentifier (line 20) | def HardSwishOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function HardSwishOptionsStart (line 27) | def HardSwishOptionsStart(builder): builder.StartObject(0) function HardSwishOptionsEnd (line 28) | def HardSwishOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/IfOptions.py class IfOptions (line 9) | class IfOptions(object): method GetRootAsIfOptions (line 13) | def GetRootAsIfOptions(cls, buf, offset): method IfOptionsBufferHasIdentifier (line 20) | def IfOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method ThenSubgraphIndex (line 28) | def ThenSubgraphIndex(self): method ElseSubgraphIndex (line 35) | def ElseSubgraphIndex(self): function IfOptionsStart (line 41) | def IfOptionsStart(builder): builder.StartObject(2) function IfOptionsAddThenSubgraphIndex (line 42) | def IfOptionsAddThenSubgraphIndex(builder, thenSubgraphIndex): builder.P... function IfOptionsAddElseSubgraphIndex (line 43) | def IfOptionsAddElseSubgraphIndex(builder, elseSubgraphIndex): builder.P... function IfOptionsEnd (line 44) | def IfOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Int32Vector.py class Int32Vector (line 9) | class Int32Vector(object): method GetRootAsInt32Vector (line 13) | def GetRootAsInt32Vector(cls, buf, offset): method Int32VectorBufferHasIdentifier (line 20) | def Int32VectorBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method Values (line 28) | def Values(self, j): method ValuesAsNumpy (line 36) | def ValuesAsNumpy(self): method ValuesLength (line 43) | def ValuesLength(self): method ValuesIsNone (line 50) | def ValuesIsNone(self): function Int32VectorStart (line 54) | def Int32VectorStart(builder): builder.StartObject(1) function Int32VectorAddValues (line 55) | def Int32VectorAddValues(builder, values): builder.PrependUOffsetTRelati... function Int32VectorStartValuesVector (line 56) | def Int32VectorStartValuesVector(builder, numElems): return builder.Star... function Int32VectorEnd (line 57) | def Int32VectorEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/L2NormOptions.py class L2NormOptions (line 9) | class L2NormOptions(object): method GetRootAsL2NormOptions (line 13) | def GetRootAsL2NormOptions(cls, buf, offset): method L2NormOptionsBufferHasIdentifier (line 20) | def L2NormOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): function L2NormOptionsStart (line 34) | def L2NormOptionsStart(builder): builder.StartObject(1) function L2NormOptionsAddFusedActivationFunction (line 35) | def L2NormOptionsAddFusedActivationFunction(builder, fusedActivationFunc... function L2NormOptionsEnd (line 36) | def L2NormOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LSHProjectionOptions.py class LSHProjectionOptions (line 9) | class LSHProjectionOptions(object): method GetRootAsLSHProjectionOptions (line 13) | def GetRootAsLSHProjectionOptions(cls, buf, offset): method LSHProjectionOptionsBufferHasIdentifier (line 20) | def LSHProjectionOptionsBufferHasIdentifier(cls, buf, offset, size_pre... method Init (line 24) | def Init(self, buf, pos): method Type (line 28) | def Type(self): function LSHProjectionOptionsStart (line 34) | def LSHProjectionOptionsStart(builder): builder.StartObject(1) function LSHProjectionOptionsAddType (line 35) | def LSHProjectionOptionsAddType(builder, type): builder.PrependInt8Slot(... function LSHProjectionOptionsEnd (line 36) | def LSHProjectionOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LSHProjectionType.py class LSHProjectionType (line 5) | class LSHProjectionType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LSTMKernelType.py class LSTMKernelType (line 5) | class LSTMKernelType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LSTMOptions.py class LSTMOptions (line 9) | class LSTMOptions(object): method GetRootAsLSTMOptions (line 13) | def GetRootAsLSTMOptions(cls, buf, offset): method LSTMOptionsBufferHasIdentifier (line 20) | def LSTMOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): method CellClip (line 35) | def CellClip(self): method ProjClip (line 42) | def ProjClip(self): method KernelType (line 49) | def KernelType(self): method AsymmetricQuantizeInputs (line 56) | def AsymmetricQuantizeInputs(self): function LSTMOptionsStart (line 62) | def LSTMOptionsStart(builder): builder.StartObject(5) function LSTMOptionsAddFusedActivationFunction (line 63) | def LSTMOptionsAddFusedActivationFunction(builder, fusedActivationFuncti... function LSTMOptionsAddCellClip (line 64) | def LSTMOptionsAddCellClip(builder, cellClip): builder.PrependFloat32Slo... function LSTMOptionsAddProjClip (line 65) | def LSTMOptionsAddProjClip(builder, projClip): builder.PrependFloat32Slo... function LSTMOptionsAddKernelType (line 66) | def LSTMOptionsAddKernelType(builder, kernelType): builder.PrependInt8Sl... function LSTMOptionsAddAsymmetricQuantizeInputs (line 67) | def LSTMOptionsAddAsymmetricQuantizeInputs(builder, asymmetricQuantizeIn... function LSTMOptionsEnd (line 68) | def LSTMOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LeakyReluOptions.py class LeakyReluOptions (line 9) | class LeakyReluOptions(object): method GetRootAsLeakyReluOptions (line 13) | def GetRootAsLeakyReluOptions(cls, buf, offset): method LeakyReluOptionsBufferHasIdentifier (line 20) | def LeakyReluOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): method Alpha (line 28) | def Alpha(self): function LeakyReluOptionsStart (line 34) | def LeakyReluOptionsStart(builder): builder.StartObject(1) function LeakyReluOptionsAddAlpha (line 35) | def LeakyReluOptionsAddAlpha(builder, alpha): builder.PrependFloat32Slot... function LeakyReluOptionsEnd (line 36) | def LeakyReluOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LessEqualOptions.py class LessEqualOptions (line 9) | class LessEqualOptions(object): method GetRootAsLessEqualOptions (line 13) | def GetRootAsLessEqualOptions(cls, buf, offset): method LessEqualOptionsBufferHasIdentifier (line 20) | def LessEqualOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function LessEqualOptionsStart (line 27) | def LessEqualOptionsStart(builder): builder.StartObject(0) function LessEqualOptionsEnd (line 28) | def LessEqualOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LessOptions.py class LessOptions (line 9) | class LessOptions(object): method GetRootAsLessOptions (line 13) | def GetRootAsLessOptions(cls, buf, offset): method LessOptionsBufferHasIdentifier (line 20) | def LessOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): function LessOptionsStart (line 27) | def LessOptionsStart(builder): builder.StartObject(0) function LessOptionsEnd (line 28) | def LessOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LocalResponseNormalizationOptions.py class LocalResponseNormalizationOptions (line 9) | class LocalResponseNormalizationOptions(object): method GetRootAsLocalResponseNormalizationOptions (line 13) | def GetRootAsLocalResponseNormalizationOptions(cls, buf, offset): method LocalResponseNormalizationOptionsBufferHasIdentifier (line 20) | def LocalResponseNormalizationOptionsBufferHasIdentifier(cls, buf, off... method Init (line 24) | def Init(self, buf, pos): method Radius (line 28) | def Radius(self): method Bias (line 35) | def Bias(self): method Alpha (line 42) | def Alpha(self): method Beta (line 49) | def Beta(self): function LocalResponseNormalizationOptionsStart (line 55) | def LocalResponseNormalizationOptionsStart(builder): builder.StartObject(4) function LocalResponseNormalizationOptionsAddRadius (line 56) | def LocalResponseNormalizationOptionsAddRadius(builder, radius): builder... function LocalResponseNormalizationOptionsAddBias (line 57) | def LocalResponseNormalizationOptionsAddBias(builder, bias): builder.Pre... function LocalResponseNormalizationOptionsAddAlpha (line 58) | def LocalResponseNormalizationOptionsAddAlpha(builder, alpha): builder.P... function LocalResponseNormalizationOptionsAddBeta (line 59) | def LocalResponseNormalizationOptionsAddBeta(builder, beta): builder.Pre... function LocalResponseNormalizationOptionsEnd (line 60) | def LocalResponseNormalizationOptionsEnd(builder): return builder.EndObj... FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LogSoftmaxOptions.py class LogSoftmaxOptions (line 9) | class LogSoftmaxOptions(object): method GetRootAsLogSoftmaxOptions (line 13) | def GetRootAsLogSoftmaxOptions(cls, buf, offset): method LogSoftmaxOptionsBufferHasIdentifier (line 20) | def LogSoftmaxOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function LogSoftmaxOptionsStart (line 27) | def LogSoftmaxOptionsStart(builder): builder.StartObject(0) function LogSoftmaxOptionsEnd (line 28) | def LogSoftmaxOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LogicalAndOptions.py class LogicalAndOptions (line 9) | class LogicalAndOptions(object): method GetRootAsLogicalAndOptions (line 13) | def GetRootAsLogicalAndOptions(cls, buf, offset): method LogicalAndOptionsBufferHasIdentifier (line 20) | def LogicalAndOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function LogicalAndOptionsStart (line 27) | def LogicalAndOptionsStart(builder): builder.StartObject(0) function LogicalAndOptionsEnd (line 28) | def LogicalAndOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LogicalNotOptions.py class LogicalNotOptions (line 9) | class LogicalNotOptions(object): method GetRootAsLogicalNotOptions (line 13) | def GetRootAsLogicalNotOptions(cls, buf, offset): method LogicalNotOptionsBufferHasIdentifier (line 20) | def LogicalNotOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function LogicalNotOptionsStart (line 27) | def LogicalNotOptionsStart(builder): builder.StartObject(0) function LogicalNotOptionsEnd (line 28) | def LogicalNotOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/LogicalOrOptions.py class LogicalOrOptions (line 9) | class LogicalOrOptions(object): method GetRootAsLogicalOrOptions (line 13) | def GetRootAsLogicalOrOptions(cls, buf, offset): method LogicalOrOptionsBufferHasIdentifier (line 20) | def LogicalOrOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function LogicalOrOptionsStart (line 27) | def LogicalOrOptionsStart(builder): builder.StartObject(0) function LogicalOrOptionsEnd (line 28) | def LogicalOrOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MatrixDiagOptions.py class MatrixDiagOptions (line 9) | class MatrixDiagOptions(object): method GetRootAsMatrixDiagOptions (line 13) | def GetRootAsMatrixDiagOptions(cls, buf, offset): method MatrixDiagOptionsBufferHasIdentifier (line 20) | def MatrixDiagOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function MatrixDiagOptionsStart (line 27) | def MatrixDiagOptionsStart(builder): builder.StartObject(0) function MatrixDiagOptionsEnd (line 28) | def MatrixDiagOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MatrixSetDiagOptions.py class MatrixSetDiagOptions (line 9) | class MatrixSetDiagOptions(object): method GetRootAsMatrixSetDiagOptions (line 13) | def GetRootAsMatrixSetDiagOptions(cls, buf, offset): method MatrixSetDiagOptionsBufferHasIdentifier (line 20) | def MatrixSetDiagOptionsBufferHasIdentifier(cls, buf, offset, size_pre... method Init (line 24) | def Init(self, buf, pos): function MatrixSetDiagOptionsStart (line 27) | def MatrixSetDiagOptionsStart(builder): builder.StartObject(0) function MatrixSetDiagOptionsEnd (line 28) | def MatrixSetDiagOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MaximumMinimumOptions.py class MaximumMinimumOptions (line 9) | class MaximumMinimumOptions(object): method GetRootAsMaximumMinimumOptions (line 13) | def GetRootAsMaximumMinimumOptions(cls, buf, offset): method MaximumMinimumOptionsBufferHasIdentifier (line 20) | def MaximumMinimumOptionsBufferHasIdentifier(cls, buf, offset, size_pr... method Init (line 24) | def Init(self, buf, pos): function MaximumMinimumOptionsStart (line 27) | def MaximumMinimumOptionsStart(builder): builder.StartObject(0) function MaximumMinimumOptionsEnd (line 28) | def MaximumMinimumOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Metadata.py class Metadata (line 9) | class Metadata(object): method GetRootAsMetadata (line 13) | def GetRootAsMetadata(cls, buf, offset): method MetadataBufferHasIdentifier (line 20) | def MetadataBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method Name (line 28) | def Name(self): method Buffer (line 35) | def Buffer(self): function MetadataStart (line 41) | def MetadataStart(builder): builder.StartObject(2) function MetadataAddName (line 42) | def MetadataAddName(builder, name): builder.PrependUOffsetTRelativeSlot(... function MetadataAddBuffer (line 43) | def MetadataAddBuffer(builder, buffer): builder.PrependUint32Slot(1, buf... function MetadataEnd (line 44) | def MetadataEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MirrorPadMode.py class MirrorPadMode (line 5) | class MirrorPadMode(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MirrorPadOptions.py class MirrorPadOptions (line 9) | class MirrorPadOptions(object): method GetRootAsMirrorPadOptions (line 13) | def GetRootAsMirrorPadOptions(cls, buf, offset): method MirrorPadOptionsBufferHasIdentifier (line 20) | def MirrorPadOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): method Mode (line 28) | def Mode(self): function MirrorPadOptionsStart (line 34) | def MirrorPadOptionsStart(builder): builder.StartObject(1) function MirrorPadOptionsAddMode (line 35) | def MirrorPadOptionsAddMode(builder, mode): builder.PrependInt8Slot(0, m... function MirrorPadOptionsEnd (line 36) | def MirrorPadOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Model.py class Model (line 9) | class Model(object): method GetRootAsModel (line 13) | def GetRootAsModel(cls, buf, offset): method ModelBufferHasIdentifier (line 20) | def ModelBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method Version (line 28) | def Version(self): method OperatorCodes (line 35) | def OperatorCodes(self, j): method OperatorCodesLength (line 48) | def OperatorCodesLength(self): method OperatorCodesIsNone (line 55) | def OperatorCodesIsNone(self): method Subgraphs (line 60) | def Subgraphs(self, j): method SubgraphsLength (line 73) | def SubgraphsLength(self): method SubgraphsIsNone (line 80) | def SubgraphsIsNone(self): method Description (line 85) | def Description(self): method Buffers (line 92) | def Buffers(self, j): method BuffersLength (line 105) | def BuffersLength(self): method BuffersIsNone (line 112) | def BuffersIsNone(self): method MetadataBuffer (line 117) | def MetadataBuffer(self, j): method MetadataBufferAsNumpy (line 125) | def MetadataBufferAsNumpy(self): method MetadataBufferLength (line 132) | def MetadataBufferLength(self): method MetadataBufferIsNone (line 139) | def MetadataBufferIsNone(self): method Metadata (line 144) | def Metadata(self, j): method MetadataLength (line 157) | def MetadataLength(self): method MetadataIsNone (line 164) | def MetadataIsNone(self): function ModelStart (line 168) | def ModelStart(builder): builder.StartObject(7) function ModelAddVersion (line 169) | def ModelAddVersion(builder, version): builder.PrependUint32Slot(0, vers... function ModelAddOperatorCodes (line 170) | def ModelAddOperatorCodes(builder, operatorCodes): builder.PrependUOffse... function ModelStartOperatorCodesVector (line 171) | def ModelStartOperatorCodesVector(builder, numElems): return builder.Sta... function ModelAddSubgraphs (line 172) | def ModelAddSubgraphs(builder, subgraphs): builder.PrependUOffsetTRelati... function ModelStartSubgraphsVector (line 173) | def ModelStartSubgraphsVector(builder, numElems): return builder.StartVe... function ModelAddDescription (line 174) | def ModelAddDescription(builder, description): builder.PrependUOffsetTRe... function ModelAddBuffers (line 175) | def ModelAddBuffers(builder, buffers): builder.PrependUOffsetTRelativeSl... function ModelStartBuffersVector (line 176) | def ModelStartBuffersVector(builder, numElems): return builder.StartVect... function ModelAddMetadataBuffer (line 177) | def ModelAddMetadataBuffer(builder, metadataBuffer): builder.PrependUOff... function ModelStartMetadataBufferVector (line 178) | def ModelStartMetadataBufferVector(builder, numElems): return builder.St... function ModelAddMetadata (line 179) | def ModelAddMetadata(builder, metadata): builder.PrependUOffsetTRelative... function ModelStartMetadataVector (line 180) | def ModelStartMetadataVector(builder, numElems): return builder.StartVec... function ModelEnd (line 181) | def ModelEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/MulOptions.py class MulOptions (line 9) | class MulOptions(object): method GetRootAsMulOptions (line 13) | def GetRootAsMulOptions(cls, buf, offset): method MulOptionsBufferHasIdentifier (line 20) | def MulOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): function MulOptionsStart (line 34) | def MulOptionsStart(builder): builder.StartObject(1) function MulOptionsAddFusedActivationFunction (line 35) | def MulOptionsAddFusedActivationFunction(builder, fusedActivationFunctio... function MulOptionsEnd (line 36) | def MulOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/NegOptions.py class NegOptions (line 9) | class NegOptions(object): method GetRootAsNegOptions (line 13) | def GetRootAsNegOptions(cls, buf, offset): method NegOptionsBufferHasIdentifier (line 20) | def NegOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function NegOptionsStart (line 27) | def NegOptionsStart(builder): builder.StartObject(0) function NegOptionsEnd (line 28) | def NegOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/NonMaxSuppressionV4Options.py class NonMaxSuppressionV4Options (line 9) | class NonMaxSuppressionV4Options(object): method GetRootAsNonMaxSuppressionV4Options (line 13) | def GetRootAsNonMaxSuppressionV4Options(cls, buf, offset): method NonMaxSuppressionV4OptionsBufferHasIdentifier (line 20) | def NonMaxSuppressionV4OptionsBufferHasIdentifier(cls, buf, offset, si... method Init (line 24) | def Init(self, buf, pos): function NonMaxSuppressionV4OptionsStart (line 27) | def NonMaxSuppressionV4OptionsStart(builder): builder.StartObject(0) function NonMaxSuppressionV4OptionsEnd (line 28) | def NonMaxSuppressionV4OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/NonMaxSuppressionV5Options.py class NonMaxSuppressionV5Options (line 9) | class NonMaxSuppressionV5Options(object): method GetRootAsNonMaxSuppressionV5Options (line 13) | def GetRootAsNonMaxSuppressionV5Options(cls, buf, offset): method NonMaxSuppressionV5OptionsBufferHasIdentifier (line 20) | def NonMaxSuppressionV5OptionsBufferHasIdentifier(cls, buf, offset, si... method Init (line 24) | def Init(self, buf, pos): function NonMaxSuppressionV5OptionsStart (line 27) | def NonMaxSuppressionV5OptionsStart(builder): builder.StartObject(0) function NonMaxSuppressionV5OptionsEnd (line 28) | def NonMaxSuppressionV5OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/NotEqualOptions.py class NotEqualOptions (line 9) | class NotEqualOptions(object): method GetRootAsNotEqualOptions (line 13) | def GetRootAsNotEqualOptions(cls, buf, offset): method NotEqualOptionsBufferHasIdentifier (line 20) | def NotEqualOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function NotEqualOptionsStart (line 27) | def NotEqualOptionsStart(builder): builder.StartObject(0) function NotEqualOptionsEnd (line 28) | def NotEqualOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/OneHotOptions.py class OneHotOptions (line 9) | class OneHotOptions(object): method GetRootAsOneHotOptions (line 13) | def GetRootAsOneHotOptions(cls, buf, offset): method OneHotOptionsBufferHasIdentifier (line 20) | def OneHotOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method Axis (line 28) | def Axis(self): function OneHotOptionsStart (line 34) | def OneHotOptionsStart(builder): builder.StartObject(1) function OneHotOptionsAddAxis (line 35) | def OneHotOptionsAddAxis(builder, axis): builder.PrependInt32Slot(0, axi... function OneHotOptionsEnd (line 36) | def OneHotOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Operator.py class Operator (line 9) | class Operator(object): method GetRootAsOperator (line 13) | def GetRootAsOperator(cls, buf, offset): method OperatorBufferHasIdentifier (line 20) | def OperatorBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method OpcodeIndex (line 28) | def OpcodeIndex(self): method Inputs (line 35) | def Inputs(self, j): method InputsAsNumpy (line 43) | def InputsAsNumpy(self): method InputsLength (line 50) | def InputsLength(self): method InputsIsNone (line 57) | def InputsIsNone(self): method Outputs (line 62) | def Outputs(self, j): method OutputsAsNumpy (line 70) | def OutputsAsNumpy(self): method OutputsLength (line 77) | def OutputsLength(self): method OutputsIsNone (line 84) | def OutputsIsNone(self): method BuiltinOptionsType (line 89) | def BuiltinOptionsType(self): method BuiltinOptions (line 96) | def BuiltinOptions(self): method CustomOptions (line 106) | def CustomOptions(self, j): method CustomOptionsAsNumpy (line 114) | def CustomOptionsAsNumpy(self): method CustomOptionsLength (line 121) | def CustomOptionsLength(self): method CustomOptionsIsNone (line 128) | def CustomOptionsIsNone(self): method CustomOptionsFormat (line 133) | def CustomOptionsFormat(self): method MutatingVariableInputs (line 140) | def MutatingVariableInputs(self, j): method MutatingVariableInputsAsNumpy (line 148) | def MutatingVariableInputsAsNumpy(self): method MutatingVariableInputsLength (line 155) | def MutatingVariableInputsLength(self): method MutatingVariableInputsIsNone (line 162) | def MutatingVariableInputsIsNone(self): method Intermediates (line 167) | def Intermediates(self, j): method IntermediatesAsNumpy (line 175) | def IntermediatesAsNumpy(self): method IntermediatesLength (line 182) | def IntermediatesLength(self): method IntermediatesIsNone (line 189) | def IntermediatesIsNone(self): function OperatorStart (line 193) | def OperatorStart(builder): builder.StartObject(9) function OperatorAddOpcodeIndex (line 194) | def OperatorAddOpcodeIndex(builder, opcodeIndex): builder.PrependUint32S... function OperatorAddInputs (line 195) | def OperatorAddInputs(builder, inputs): builder.PrependUOffsetTRelativeS... function OperatorStartInputsVector (line 196) | def OperatorStartInputsVector(builder, numElems): return builder.StartVe... function OperatorAddOutputs (line 197) | def OperatorAddOutputs(builder, outputs): builder.PrependUOffsetTRelativ... function OperatorStartOutputsVector (line 198) | def OperatorStartOutputsVector(builder, numElems): return builder.StartV... function OperatorAddBuiltinOptionsType (line 199) | def OperatorAddBuiltinOptionsType(builder, builtinOptionsType): builder.... function OperatorAddBuiltinOptions (line 200) | def OperatorAddBuiltinOptions(builder, builtinOptions): builder.PrependU... function OperatorAddCustomOptions (line 201) | def OperatorAddCustomOptions(builder, customOptions): builder.PrependUOf... function OperatorStartCustomOptionsVector (line 202) | def OperatorStartCustomOptionsVector(builder, numElems): return builder.... function OperatorAddCustomOptionsFormat (line 203) | def OperatorAddCustomOptionsFormat(builder, customOptionsFormat): builde... function OperatorAddMutatingVariableInputs (line 204) | def OperatorAddMutatingVariableInputs(builder, mutatingVariableInputs): ... function OperatorStartMutatingVariableInputsVector (line 205) | def OperatorStartMutatingVariableInputsVector(builder, numElems): return... function OperatorAddIntermediates (line 206) | def OperatorAddIntermediates(builder, intermediates): builder.PrependUOf... function OperatorStartIntermediatesVector (line 207) | def OperatorStartIntermediatesVector(builder, numElems): return builder.... function OperatorEnd (line 208) | def OperatorEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/OperatorCode.py class OperatorCode (line 9) | class OperatorCode(object): method GetRootAsOperatorCode (line 13) | def GetRootAsOperatorCode(cls, buf, offset): method OperatorCodeBufferHasIdentifier (line 20) | def OperatorCodeBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): method BuiltinCode (line 28) | def BuiltinCode(self): method CustomCode (line 35) | def CustomCode(self): method Version (line 42) | def Version(self): function OperatorCodeStart (line 48) | def OperatorCodeStart(builder): builder.StartObject(3) function OperatorCodeAddBuiltinCode (line 49) | def OperatorCodeAddBuiltinCode(builder, builtinCode): builder.PrependInt... function OperatorCodeAddCustomCode (line 50) | def OperatorCodeAddCustomCode(builder, customCode): builder.PrependUOffs... function OperatorCodeAddVersion (line 51) | def OperatorCodeAddVersion(builder, version): builder.PrependInt32Slot(2... function OperatorCodeEnd (line 52) | def OperatorCodeEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/PackOptions.py class PackOptions (line 9) | class PackOptions(object): method GetRootAsPackOptions (line 13) | def GetRootAsPackOptions(cls, buf, offset): method PackOptionsBufferHasIdentifier (line 20) | def PackOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method ValuesCount (line 28) | def ValuesCount(self): method Axis (line 35) | def Axis(self): function PackOptionsStart (line 41) | def PackOptionsStart(builder): builder.StartObject(2) function PackOptionsAddValuesCount (line 42) | def PackOptionsAddValuesCount(builder, valuesCount): builder.PrependInt3... function PackOptionsAddAxis (line 43) | def PackOptionsAddAxis(builder, axis): builder.PrependInt32Slot(1, axis, 0) function PackOptionsEnd (line 44) | def PackOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/PadOptions.py class PadOptions (line 9) | class PadOptions(object): method GetRootAsPadOptions (line 13) | def GetRootAsPadOptions(cls, buf, offset): method PadOptionsBufferHasIdentifier (line 20) | def PadOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function PadOptionsStart (line 27) | def PadOptionsStart(builder): builder.StartObject(0) function PadOptionsEnd (line 28) | def PadOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/PadV2Options.py class PadV2Options (line 9) | class PadV2Options(object): method GetRootAsPadV2Options (line 13) | def GetRootAsPadV2Options(cls, buf, offset): method PadV2OptionsBufferHasIdentifier (line 20) | def PadV2OptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): function PadV2OptionsStart (line 27) | def PadV2OptionsStart(builder): builder.StartObject(0) function PadV2OptionsEnd (line 28) | def PadV2OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Padding.py class Padding (line 5) | class Padding(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Pool2DOptions.py class Pool2DOptions (line 9) | class Pool2DOptions(object): method GetRootAsPool2DOptions (line 13) | def GetRootAsPool2DOptions(cls, buf, offset): method Pool2DOptionsBufferHasIdentifier (line 20) | def Pool2DOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method Padding (line 28) | def Padding(self): method StrideW (line 35) | def StrideW(self): method StrideH (line 42) | def StrideH(self): method FilterWidth (line 49) | def FilterWidth(self): method FilterHeight (line 56) | def FilterHeight(self): method FusedActivationFunction (line 63) | def FusedActivationFunction(self): function Pool2DOptionsStart (line 69) | def Pool2DOptionsStart(builder): builder.StartObject(6) function Pool2DOptionsAddPadding (line 70) | def Pool2DOptionsAddPadding(builder, padding): builder.PrependInt8Slot(0... function Pool2DOptionsAddStrideW (line 71) | def Pool2DOptionsAddStrideW(builder, strideW): builder.PrependInt32Slot(... function Pool2DOptionsAddStrideH (line 72) | def Pool2DOptionsAddStrideH(builder, strideH): builder.PrependInt32Slot(... function Pool2DOptionsAddFilterWidth (line 73) | def Pool2DOptionsAddFilterWidth(builder, filterWidth): builder.PrependIn... function Pool2DOptionsAddFilterHeight (line 74) | def Pool2DOptionsAddFilterHeight(builder, filterHeight): builder.Prepend... function Pool2DOptionsAddFusedActivationFunction (line 75) | def Pool2DOptionsAddFusedActivationFunction(builder, fusedActivationFunc... function Pool2DOptionsEnd (line 76) | def Pool2DOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/PowOptions.py class PowOptions (line 9) | class PowOptions(object): method GetRootAsPowOptions (line 13) | def GetRootAsPowOptions(cls, buf, offset): method PowOptionsBufferHasIdentifier (line 20) | def PowOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): function PowOptionsStart (line 27) | def PowOptionsStart(builder): builder.StartObject(0) function PowOptionsEnd (line 28) | def PowOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/QuantizationDetails.py class QuantizationDetails (line 5) | class QuantizationDetails(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/QuantizationParameters.py class QuantizationParameters (line 9) | class QuantizationParameters(object): method GetRootAsQuantizationParameters (line 13) | def GetRootAsQuantizationParameters(cls, buf, offset): method QuantizationParametersBufferHasIdentifier (line 20) | def QuantizationParametersBufferHasIdentifier(cls, buf, offset, size_p... method Init (line 24) | def Init(self, buf, pos): method Min (line 28) | def Min(self, j): method MinAsNumpy (line 36) | def MinAsNumpy(self): method MinLength (line 43) | def MinLength(self): method MinIsNone (line 50) | def MinIsNone(self): method Max (line 55) | def Max(self, j): method MaxAsNumpy (line 63) | def MaxAsNumpy(self): method MaxLength (line 70) | def MaxLength(self): method MaxIsNone (line 77) | def MaxIsNone(self): method Scale (line 82) | def Scale(self, j): method ScaleAsNumpy (line 90) | def ScaleAsNumpy(self): method ScaleLength (line 97) | def ScaleLength(self): method ScaleIsNone (line 104) | def ScaleIsNone(self): method ZeroPoint (line 109) | def ZeroPoint(self, j): method ZeroPointAsNumpy (line 117) | def ZeroPointAsNumpy(self): method ZeroPointLength (line 124) | def ZeroPointLength(self): method ZeroPointIsNone (line 131) | def ZeroPointIsNone(self): method DetailsType (line 136) | def DetailsType(self): method Details (line 143) | def Details(self): method QuantizedDimension (line 153) | def QuantizedDimension(self): function QuantizationParametersStart (line 159) | def QuantizationParametersStart(builder): builder.StartObject(7) function QuantizationParametersAddMin (line 160) | def QuantizationParametersAddMin(builder, min): builder.PrependUOffsetTR... function QuantizationParametersStartMinVector (line 161) | def QuantizationParametersStartMinVector(builder, numElems): return buil... function QuantizationParametersAddMax (line 162) | def QuantizationParametersAddMax(builder, max): builder.PrependUOffsetTR... function QuantizationParametersStartMaxVector (line 163) | def QuantizationParametersStartMaxVector(builder, numElems): return buil... function QuantizationParametersAddScale (line 164) | def QuantizationParametersAddScale(builder, scale): builder.PrependUOffs... function QuantizationParametersStartScaleVector (line 165) | def QuantizationParametersStartScaleVector(builder, numElems): return bu... function QuantizationParametersAddZeroPoint (line 166) | def QuantizationParametersAddZeroPoint(builder, zeroPoint): builder.Prep... function QuantizationParametersStartZeroPointVector (line 167) | def QuantizationParametersStartZeroPointVector(builder, numElems): retur... function QuantizationParametersAddDetailsType (line 168) | def QuantizationParametersAddDetailsType(builder, detailsType): builder.... function QuantizationParametersAddDetails (line 169) | def QuantizationParametersAddDetails(builder, details): builder.PrependU... function QuantizationParametersAddQuantizedDimension (line 170) | def QuantizationParametersAddQuantizedDimension(builder, quantizedDimens... function QuantizationParametersEnd (line 171) | def QuantizationParametersEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/QuantizeOptions.py class QuantizeOptions (line 9) | class QuantizeOptions(object): method GetRootAsQuantizeOptions (line 13) | def GetRootAsQuantizeOptions(cls, buf, offset): method QuantizeOptionsBufferHasIdentifier (line 20) | def QuantizeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function QuantizeOptionsStart (line 27) | def QuantizeOptionsStart(builder): builder.StartObject(0) function QuantizeOptionsEnd (line 28) | def QuantizeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/RNNOptions.py class RNNOptions (line 9) | class RNNOptions(object): method GetRootAsRNNOptions (line 13) | def GetRootAsRNNOptions(cls, buf, offset): method RNNOptionsBufferHasIdentifier (line 20) | def RNNOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): method AsymmetricQuantizeInputs (line 35) | def AsymmetricQuantizeInputs(self): function RNNOptionsStart (line 41) | def RNNOptionsStart(builder): builder.StartObject(2) function RNNOptionsAddFusedActivationFunction (line 42) | def RNNOptionsAddFusedActivationFunction(builder, fusedActivationFunctio... function RNNOptionsAddAsymmetricQuantizeInputs (line 43) | def RNNOptionsAddAsymmetricQuantizeInputs(builder, asymmetricQuantizeInp... function RNNOptionsEnd (line 44) | def RNNOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/RangeOptions.py class RangeOptions (line 9) | class RangeOptions(object): method GetRootAsRangeOptions (line 13) | def GetRootAsRangeOptions(cls, buf, offset): method RangeOptionsBufferHasIdentifier (line 20) | def RangeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): function RangeOptionsStart (line 27) | def RangeOptionsStart(builder): builder.StartObject(0) function RangeOptionsEnd (line 28) | def RangeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/RankOptions.py class RankOptions (line 9) | class RankOptions(object): method GetRootAsRankOptions (line 13) | def GetRootAsRankOptions(cls, buf, offset): method RankOptionsBufferHasIdentifier (line 20) | def RankOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): function RankOptionsStart (line 27) | def RankOptionsStart(builder): builder.StartObject(0) function RankOptionsEnd (line 28) | def RankOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ReducerOptions.py class ReducerOptions (line 9) | class ReducerOptions(object): method GetRootAsReducerOptions (line 13) | def GetRootAsReducerOptions(cls, buf, offset): method ReducerOptionsBufferHasIdentifier (line 20) | def ReducerOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): method KeepDims (line 28) | def KeepDims(self): function ReducerOptionsStart (line 34) | def ReducerOptionsStart(builder): builder.StartObject(1) function ReducerOptionsAddKeepDims (line 35) | def ReducerOptionsAddKeepDims(builder, keepDims): builder.PrependBoolSlo... function ReducerOptionsEnd (line 36) | def ReducerOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ReshapeOptions.py class ReshapeOptions (line 9) | class ReshapeOptions(object): method GetRootAsReshapeOptions (line 13) | def GetRootAsReshapeOptions(cls, buf, offset): method ReshapeOptionsBufferHasIdentifier (line 20) | def ReshapeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): method NewShape (line 28) | def NewShape(self, j): method NewShapeAsNumpy (line 36) | def NewShapeAsNumpy(self): method NewShapeLength (line 43) | def NewShapeLength(self): method NewShapeIsNone (line 50) | def NewShapeIsNone(self): function ReshapeOptionsStart (line 54) | def ReshapeOptionsStart(builder): builder.StartObject(1) function ReshapeOptionsAddNewShape (line 55) | def ReshapeOptionsAddNewShape(builder, newShape): builder.PrependUOffset... function ReshapeOptionsStartNewShapeVector (line 56) | def ReshapeOptionsStartNewShapeVector(builder, numElems): return builder... function ReshapeOptionsEnd (line 57) | def ReshapeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ResizeBilinearOptions.py class ResizeBilinearOptions (line 9) | class ResizeBilinearOptions(object): method GetRootAsResizeBilinearOptions (line 13) | def GetRootAsResizeBilinearOptions(cls, buf, offset): method ResizeBilinearOptionsBufferHasIdentifier (line 20) | def ResizeBilinearOptionsBufferHasIdentifier(cls, buf, offset, size_pr... method Init (line 24) | def Init(self, buf, pos): method AlignCorners (line 28) | def AlignCorners(self): method HalfPixelCenters (line 35) | def HalfPixelCenters(self): function ResizeBilinearOptionsStart (line 41) | def ResizeBilinearOptionsStart(builder): builder.StartObject(4) function ResizeBilinearOptionsAddAlignCorners (line 42) | def ResizeBilinearOptionsAddAlignCorners(builder, alignCorners): builder... function ResizeBilinearOptionsAddHalfPixelCenters (line 43) | def ResizeBilinearOptionsAddHalfPixelCenters(builder, halfPixelCenters):... function ResizeBilinearOptionsEnd (line 44) | def ResizeBilinearOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ResizeNearestNeighborOptions.py class ResizeNearestNeighborOptions (line 9) | class ResizeNearestNeighborOptions(object): method GetRootAsResizeNearestNeighborOptions (line 13) | def GetRootAsResizeNearestNeighborOptions(cls, buf, offset): method ResizeNearestNeighborOptionsBufferHasIdentifier (line 20) | def ResizeNearestNeighborOptionsBufferHasIdentifier(cls, buf, offset, ... method Init (line 24) | def Init(self, buf, pos): method AlignCorners (line 28) | def AlignCorners(self): method HalfPixelCenters (line 35) | def HalfPixelCenters(self): function ResizeNearestNeighborOptionsStart (line 41) | def ResizeNearestNeighborOptionsStart(builder): builder.StartObject(2) function ResizeNearestNeighborOptionsAddAlignCorners (line 42) | def ResizeNearestNeighborOptionsAddAlignCorners(builder, alignCorners): ... function ResizeNearestNeighborOptionsAddHalfPixelCenters (line 43) | def ResizeNearestNeighborOptionsAddHalfPixelCenters(builder, halfPixelCe... function ResizeNearestNeighborOptionsEnd (line 44) | def ResizeNearestNeighborOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ReverseSequenceOptions.py class ReverseSequenceOptions (line 9) | class ReverseSequenceOptions(object): method GetRootAsReverseSequenceOptions (line 13) | def GetRootAsReverseSequenceOptions(cls, buf, offset): method ReverseSequenceOptionsBufferHasIdentifier (line 20) | def ReverseSequenceOptionsBufferHasIdentifier(cls, buf, offset, size_p... method Init (line 24) | def Init(self, buf, pos): method SeqDim (line 28) | def SeqDim(self): method BatchDim (line 35) | def BatchDim(self): function ReverseSequenceOptionsStart (line 41) | def ReverseSequenceOptionsStart(builder): builder.StartObject(2) function ReverseSequenceOptionsAddSeqDim (line 42) | def ReverseSequenceOptionsAddSeqDim(builder, seqDim): builder.PrependInt... function ReverseSequenceOptionsAddBatchDim (line 43) | def ReverseSequenceOptionsAddBatchDim(builder, batchDim): builder.Prepen... function ReverseSequenceOptionsEnd (line 44) | def ReverseSequenceOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ReverseV2Options.py class ReverseV2Options (line 9) | class ReverseV2Options(object): method GetRootAsReverseV2Options (line 13) | def GetRootAsReverseV2Options(cls, buf, offset): method ReverseV2OptionsBufferHasIdentifier (line 20) | def ReverseV2OptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function ReverseV2OptionsStart (line 27) | def ReverseV2OptionsStart(builder): builder.StartObject(0) function ReverseV2OptionsEnd (line 28) | def ReverseV2OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SVDFOptions.py class SVDFOptions (line 9) | class SVDFOptions(object): method GetRootAsSVDFOptions (line 13) | def GetRootAsSVDFOptions(cls, buf, offset): method SVDFOptionsBufferHasIdentifier (line 20) | def SVDFOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method Rank (line 28) | def Rank(self): method FusedActivationFunction (line 35) | def FusedActivationFunction(self): method AsymmetricQuantizeInputs (line 42) | def AsymmetricQuantizeInputs(self): function SVDFOptionsStart (line 48) | def SVDFOptionsStart(builder): builder.StartObject(3) function SVDFOptionsAddRank (line 49) | def SVDFOptionsAddRank(builder, rank): builder.PrependInt32Slot(0, rank, 0) function SVDFOptionsAddFusedActivationFunction (line 50) | def SVDFOptionsAddFusedActivationFunction(builder, fusedActivationFuncti... function SVDFOptionsAddAsymmetricQuantizeInputs (line 51) | def SVDFOptionsAddAsymmetricQuantizeInputs(builder, asymmetricQuantizeIn... function SVDFOptionsEnd (line 52) | def SVDFOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ScatterNdOptions.py class ScatterNdOptions (line 9) | class ScatterNdOptions(object): method GetRootAsScatterNdOptions (line 13) | def GetRootAsScatterNdOptions(cls, buf, offset): method ScatterNdOptionsBufferHasIdentifier (line 20) | def ScatterNdOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function ScatterNdOptionsStart (line 27) | def ScatterNdOptionsStart(builder): builder.StartObject(0) function ScatterNdOptionsEnd (line 28) | def ScatterNdOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SegmentSumOptions.py class SegmentSumOptions (line 9) | class SegmentSumOptions(object): method GetRootAsSegmentSumOptions (line 13) | def GetRootAsSegmentSumOptions(cls, buf, offset): method SegmentSumOptionsBufferHasIdentifier (line 20) | def SegmentSumOptionsBufferHasIdentifier(cls, buf, offset, size_prefix... method Init (line 24) | def Init(self, buf, pos): function SegmentSumOptionsStart (line 27) | def SegmentSumOptionsStart(builder): builder.StartObject(0) function SegmentSumOptionsEnd (line 28) | def SegmentSumOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SelectOptions.py class SelectOptions (line 9) | class SelectOptions(object): method GetRootAsSelectOptions (line 13) | def GetRootAsSelectOptions(cls, buf, offset): method SelectOptionsBufferHasIdentifier (line 20) | def SelectOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): function SelectOptionsStart (line 27) | def SelectOptionsStart(builder): builder.StartObject(0) function SelectOptionsEnd (line 28) | def SelectOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SelectV2Options.py class SelectV2Options (line 9) | class SelectV2Options(object): method GetRootAsSelectV2Options (line 13) | def GetRootAsSelectV2Options(cls, buf, offset): method SelectV2OptionsBufferHasIdentifier (line 20) | def SelectV2OptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): function SelectV2OptionsStart (line 27) | def SelectV2OptionsStart(builder): builder.StartObject(0) function SelectV2OptionsEnd (line 28) | def SelectV2OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SequenceRNNOptions.py class SequenceRNNOptions (line 9) | class SequenceRNNOptions(object): method GetRootAsSequenceRNNOptions (line 13) | def GetRootAsSequenceRNNOptions(cls, buf, offset): method SequenceRNNOptionsBufferHasIdentifier (line 20) | def SequenceRNNOptionsBufferHasIdentifier(cls, buf, offset, size_prefi... method Init (line 24) | def Init(self, buf, pos): method TimeMajor (line 28) | def TimeMajor(self): method FusedActivationFunction (line 35) | def FusedActivationFunction(self): method AsymmetricQuantizeInputs (line 42) | def AsymmetricQuantizeInputs(self): function SequenceRNNOptionsStart (line 48) | def SequenceRNNOptionsStart(builder): builder.StartObject(3) function SequenceRNNOptionsAddTimeMajor (line 49) | def SequenceRNNOptionsAddTimeMajor(builder, timeMajor): builder.PrependB... function SequenceRNNOptionsAddFusedActivationFunction (line 50) | def SequenceRNNOptionsAddFusedActivationFunction(builder, fusedActivatio... function SequenceRNNOptionsAddAsymmetricQuantizeInputs (line 51) | def SequenceRNNOptionsAddAsymmetricQuantizeInputs(builder, asymmetricQua... function SequenceRNNOptionsEnd (line 52) | def SequenceRNNOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ShapeOptions.py class ShapeOptions (line 9) | class ShapeOptions(object): method GetRootAsShapeOptions (line 13) | def GetRootAsShapeOptions(cls, buf, offset): method ShapeOptionsBufferHasIdentifier (line 20) | def ShapeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): method OutType (line 28) | def OutType(self): function ShapeOptionsStart (line 34) | def ShapeOptionsStart(builder): builder.StartObject(1) function ShapeOptionsAddOutType (line 35) | def ShapeOptionsAddOutType(builder, outType): builder.PrependInt8Slot(0,... function ShapeOptionsEnd (line 36) | def ShapeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SkipGramOptions.py class SkipGramOptions (line 9) | class SkipGramOptions(object): method GetRootAsSkipGramOptions (line 13) | def GetRootAsSkipGramOptions(cls, buf, offset): method SkipGramOptionsBufferHasIdentifier (line 20) | def SkipGramOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed... method Init (line 24) | def Init(self, buf, pos): method NgramSize (line 28) | def NgramSize(self): method MaxSkipSize (line 35) | def MaxSkipSize(self): method IncludeAllNgrams (line 42) | def IncludeAllNgrams(self): function SkipGramOptionsStart (line 48) | def SkipGramOptionsStart(builder): builder.StartObject(3) function SkipGramOptionsAddNgramSize (line 49) | def SkipGramOptionsAddNgramSize(builder, ngramSize): builder.PrependInt3... function SkipGramOptionsAddMaxSkipSize (line 50) | def SkipGramOptionsAddMaxSkipSize(builder, maxSkipSize): builder.Prepend... function SkipGramOptionsAddIncludeAllNgrams (line 51) | def SkipGramOptionsAddIncludeAllNgrams(builder, includeAllNgrams): build... function SkipGramOptionsEnd (line 52) | def SkipGramOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SliceOptions.py class SliceOptions (line 9) | class SliceOptions(object): method GetRootAsSliceOptions (line 13) | def GetRootAsSliceOptions(cls, buf, offset): method SliceOptionsBufferHasIdentifier (line 20) | def SliceOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): function SliceOptionsStart (line 27) | def SliceOptionsStart(builder): builder.StartObject(0) function SliceOptionsEnd (line 28) | def SliceOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SoftmaxOptions.py class SoftmaxOptions (line 9) | class SoftmaxOptions(object): method GetRootAsSoftmaxOptions (line 13) | def GetRootAsSoftmaxOptions(cls, buf, offset): method SoftmaxOptionsBufferHasIdentifier (line 20) | def SoftmaxOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): method Beta (line 28) | def Beta(self): function SoftmaxOptionsStart (line 34) | def SoftmaxOptionsStart(builder): builder.StartObject(1) function SoftmaxOptionsAddBeta (line 35) | def SoftmaxOptionsAddBeta(builder, beta): builder.PrependFloat32Slot(0, ... function SoftmaxOptionsEnd (line 36) | def SoftmaxOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SpaceToBatchNDOptions.py class SpaceToBatchNDOptions (line 9) | class SpaceToBatchNDOptions(object): method GetRootAsSpaceToBatchNDOptions (line 13) | def GetRootAsSpaceToBatchNDOptions(cls, buf, offset): method SpaceToBatchNDOptionsBufferHasIdentifier (line 20) | def SpaceToBatchNDOptionsBufferHasIdentifier(cls, buf, offset, size_pr... method Init (line 24) | def Init(self, buf, pos): function SpaceToBatchNDOptionsStart (line 27) | def SpaceToBatchNDOptionsStart(builder): builder.StartObject(0) function SpaceToBatchNDOptionsEnd (line 28) | def SpaceToBatchNDOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SpaceToDepthOptions.py class SpaceToDepthOptions (line 9) | class SpaceToDepthOptions(object): method GetRootAsSpaceToDepthOptions (line 13) | def GetRootAsSpaceToDepthOptions(cls, buf, offset): method SpaceToDepthOptionsBufferHasIdentifier (line 20) | def SpaceToDepthOptionsBufferHasIdentifier(cls, buf, offset, size_pref... method Init (line 24) | def Init(self, buf, pos): method BlockSize (line 28) | def BlockSize(self): function SpaceToDepthOptionsStart (line 34) | def SpaceToDepthOptionsStart(builder): builder.StartObject(1) function SpaceToDepthOptionsAddBlockSize (line 35) | def SpaceToDepthOptionsAddBlockSize(builder, blockSize): builder.Prepend... function SpaceToDepthOptionsEnd (line 36) | def SpaceToDepthOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SparseIndexVector.py class SparseIndexVector (line 5) | class SparseIndexVector(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SparseToDenseOptions.py class SparseToDenseOptions (line 9) | class SparseToDenseOptions(object): method GetRootAsSparseToDenseOptions (line 13) | def GetRootAsSparseToDenseOptions(cls, buf, offset): method SparseToDenseOptionsBufferHasIdentifier (line 20) | def SparseToDenseOptionsBufferHasIdentifier(cls, buf, offset, size_pre... method Init (line 24) | def Init(self, buf, pos): method ValidateIndices (line 28) | def ValidateIndices(self): function SparseToDenseOptionsStart (line 34) | def SparseToDenseOptionsStart(builder): builder.StartObject(1) function SparseToDenseOptionsAddValidateIndices (line 35) | def SparseToDenseOptionsAddValidateIndices(builder, validateIndices): bu... function SparseToDenseOptionsEnd (line 36) | def SparseToDenseOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SparsityParameters.py class SparsityParameters (line 9) | class SparsityParameters(object): method GetRootAsSparsityParameters (line 13) | def GetRootAsSparsityParameters(cls, buf, offset): method SparsityParametersBufferHasIdentifier (line 20) | def SparsityParametersBufferHasIdentifier(cls, buf, offset, size_prefi... method Init (line 24) | def Init(self, buf, pos): method TraversalOrder (line 28) | def TraversalOrder(self, j): method TraversalOrderAsNumpy (line 36) | def TraversalOrderAsNumpy(self): method TraversalOrderLength (line 43) | def TraversalOrderLength(self): method TraversalOrderIsNone (line 50) | def TraversalOrderIsNone(self): method BlockMap (line 55) | def BlockMap(self, j): method BlockMapAsNumpy (line 63) | def BlockMapAsNumpy(self): method BlockMapLength (line 70) | def BlockMapLength(self): method BlockMapIsNone (line 77) | def BlockMapIsNone(self): method DimMetadata (line 82) | def DimMetadata(self, j): method DimMetadataLength (line 95) | def DimMetadataLength(self): method DimMetadataIsNone (line 102) | def DimMetadataIsNone(self): function SparsityParametersStart (line 106) | def SparsityParametersStart(builder): builder.StartObject(3) function SparsityParametersAddTraversalOrder (line 107) | def SparsityParametersAddTraversalOrder(builder, traversalOrder): builde... function SparsityParametersStartTraversalOrderVector (line 108) | def SparsityParametersStartTraversalOrderVector(builder, numElems): retu... function SparsityParametersAddBlockMap (line 109) | def SparsityParametersAddBlockMap(builder, blockMap): builder.PrependUOf... function SparsityParametersStartBlockMapVector (line 110) | def SparsityParametersStartBlockMapVector(builder, numElems): return bui... function SparsityParametersAddDimMetadata (line 111) | def SparsityParametersAddDimMetadata(builder, dimMetadata): builder.Prep... function SparsityParametersStartDimMetadataVector (line 112) | def SparsityParametersStartDimMetadataVector(builder, numElems): return ... function SparsityParametersEnd (line 113) | def SparsityParametersEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SplitOptions.py class SplitOptions (line 9) | class SplitOptions(object): method GetRootAsSplitOptions (line 13) | def GetRootAsSplitOptions(cls, buf, offset): method SplitOptionsBufferHasIdentifier (line 20) | def SplitOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): method NumSplits (line 28) | def NumSplits(self): function SplitOptionsStart (line 34) | def SplitOptionsStart(builder): builder.StartObject(1) function SplitOptionsAddNumSplits (line 35) | def SplitOptionsAddNumSplits(builder, numSplits): builder.PrependInt32Sl... function SplitOptionsEnd (line 36) | def SplitOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SplitVOptions.py class SplitVOptions (line 9) | class SplitVOptions(object): method GetRootAsSplitVOptions (line 13) | def GetRootAsSplitVOptions(cls, buf, offset): method SplitVOptionsBufferHasIdentifier (line 20) | def SplitVOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method NumSplits (line 28) | def NumSplits(self): function SplitVOptionsStart (line 34) | def SplitVOptionsStart(builder): builder.StartObject(1) function SplitVOptionsAddNumSplits (line 35) | def SplitVOptionsAddNumSplits(builder, numSplits): builder.PrependInt32S... function SplitVOptionsEnd (line 36) | def SplitVOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SquareOptions.py class SquareOptions (line 9) | class SquareOptions(object): method GetRootAsSquareOptions (line 13) | def GetRootAsSquareOptions(cls, buf, offset): method SquareOptionsBufferHasIdentifier (line 20) | def SquareOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): function SquareOptionsStart (line 27) | def SquareOptionsStart(builder): builder.StartObject(0) function SquareOptionsEnd (line 28) | def SquareOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SquaredDifferenceOptions.py class SquaredDifferenceOptions (line 9) | class SquaredDifferenceOptions(object): method GetRootAsSquaredDifferenceOptions (line 13) | def GetRootAsSquaredDifferenceOptions(cls, buf, offset): method SquaredDifferenceOptionsBufferHasIdentifier (line 20) | def SquaredDifferenceOptionsBufferHasIdentifier(cls, buf, offset, size... method Init (line 24) | def Init(self, buf, pos): function SquaredDifferenceOptionsStart (line 27) | def SquaredDifferenceOptionsStart(builder): builder.StartObject(0) function SquaredDifferenceOptionsEnd (line 28) | def SquaredDifferenceOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SqueezeOptions.py class SqueezeOptions (line 9) | class SqueezeOptions(object): method GetRootAsSqueezeOptions (line 13) | def GetRootAsSqueezeOptions(cls, buf, offset): method SqueezeOptionsBufferHasIdentifier (line 20) | def SqueezeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=... method Init (line 24) | def Init(self, buf, pos): method SqueezeDims (line 28) | def SqueezeDims(self, j): method SqueezeDimsAsNumpy (line 36) | def SqueezeDimsAsNumpy(self): method SqueezeDimsLength (line 43) | def SqueezeDimsLength(self): method SqueezeDimsIsNone (line 50) | def SqueezeDimsIsNone(self): function SqueezeOptionsStart (line 54) | def SqueezeOptionsStart(builder): builder.StartObject(1) function SqueezeOptionsAddSqueezeDims (line 55) | def SqueezeOptionsAddSqueezeDims(builder, squeezeDims): builder.PrependU... function SqueezeOptionsStartSqueezeDimsVector (line 56) | def SqueezeOptionsStartSqueezeDimsVector(builder, numElems): return buil... function SqueezeOptionsEnd (line 57) | def SqueezeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/StridedSliceOptions.py class StridedSliceOptions (line 9) | class StridedSliceOptions(object): method GetRootAsStridedSliceOptions (line 13) | def GetRootAsStridedSliceOptions(cls, buf, offset): method StridedSliceOptionsBufferHasIdentifier (line 20) | def StridedSliceOptionsBufferHasIdentifier(cls, buf, offset, size_pref... method Init (line 24) | def Init(self, buf, pos): method BeginMask (line 28) | def BeginMask(self): method EndMask (line 35) | def EndMask(self): method EllipsisMask (line 42) | def EllipsisMask(self): method NewAxisMask (line 49) | def NewAxisMask(self): method ShrinkAxisMask (line 56) | def ShrinkAxisMask(self): function StridedSliceOptionsStart (line 62) | def StridedSliceOptionsStart(builder): builder.StartObject(5) function StridedSliceOptionsAddBeginMask (line 63) | def StridedSliceOptionsAddBeginMask(builder, beginMask): builder.Prepend... function StridedSliceOptionsAddEndMask (line 64) | def StridedSliceOptionsAddEndMask(builder, endMask): builder.PrependInt3... function StridedSliceOptionsAddEllipsisMask (line 65) | def StridedSliceOptionsAddEllipsisMask(builder, ellipsisMask): builder.P... function StridedSliceOptionsAddNewAxisMask (line 66) | def StridedSliceOptionsAddNewAxisMask(builder, newAxisMask): builder.Pre... function StridedSliceOptionsAddShrinkAxisMask (line 67) | def StridedSliceOptionsAddShrinkAxisMask(builder, shrinkAxisMask): build... function StridedSliceOptionsEnd (line 68) | def StridedSliceOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SubGraph.py class SubGraph (line 9) | class SubGraph(object): method GetRootAsSubGraph (line 13) | def GetRootAsSubGraph(cls, buf, offset): method SubGraphBufferHasIdentifier (line 20) | def SubGraphBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method Tensors (line 28) | def Tensors(self, j): method TensorsLength (line 41) | def TensorsLength(self): method TensorsIsNone (line 48) | def TensorsIsNone(self): method Inputs (line 53) | def Inputs(self, j): method InputsAsNumpy (line 61) | def InputsAsNumpy(self): method InputsLength (line 68) | def InputsLength(self): method InputsIsNone (line 75) | def InputsIsNone(self): method Outputs (line 80) | def Outputs(self, j): method OutputsAsNumpy (line 88) | def OutputsAsNumpy(self): method OutputsLength (line 95) | def OutputsLength(self): method OutputsIsNone (line 102) | def OutputsIsNone(self): method Operators (line 107) | def Operators(self, j): method OperatorsLength (line 120) | def OperatorsLength(self): method OperatorsIsNone (line 127) | def OperatorsIsNone(self): method Name (line 132) | def Name(self): function SubGraphStart (line 138) | def SubGraphStart(builder): builder.StartObject(5) function SubGraphAddTensors (line 139) | def SubGraphAddTensors(builder, tensors): builder.PrependUOffsetTRelativ... function SubGraphStartTensorsVector (line 140) | def SubGraphStartTensorsVector(builder, numElems): return builder.StartV... function SubGraphAddInputs (line 141) | def SubGraphAddInputs(builder, inputs): builder.PrependUOffsetTRelativeS... function SubGraphStartInputsVector (line 142) | def SubGraphStartInputsVector(builder, numElems): return builder.StartVe... function SubGraphAddOutputs (line 143) | def SubGraphAddOutputs(builder, outputs): builder.PrependUOffsetTRelativ... function SubGraphStartOutputsVector (line 144) | def SubGraphStartOutputsVector(builder, numElems): return builder.StartV... function SubGraphAddOperators (line 145) | def SubGraphAddOperators(builder, operators): builder.PrependUOffsetTRel... function SubGraphStartOperatorsVector (line 146) | def SubGraphStartOperatorsVector(builder, numElems): return builder.Star... function SubGraphAddName (line 147) | def SubGraphAddName(builder, name): builder.PrependUOffsetTRelativeSlot(... function SubGraphEnd (line 148) | def SubGraphEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/SubOptions.py class SubOptions (line 9) | class SubOptions(object): method GetRootAsSubOptions (line 13) | def GetRootAsSubOptions(cls, buf, offset): method SubOptionsBufferHasIdentifier (line 20) | def SubOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): function SubOptionsStart (line 34) | def SubOptionsStart(builder): builder.StartObject(1) function SubOptionsAddFusedActivationFunction (line 35) | def SubOptionsAddFusedActivationFunction(builder, fusedActivationFunctio... function SubOptionsEnd (line 36) | def SubOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Tensor.py class Tensor (line 9) | class Tensor(object): method GetRootAsTensor (line 13) | def GetRootAsTensor(cls, buf, offset): method TensorBufferHasIdentifier (line 20) | def TensorBufferHasIdentifier(cls, buf, offset, size_prefixed=False): method Init (line 24) | def Init(self, buf, pos): method Shape (line 28) | def Shape(self, j): method ShapeAsNumpy (line 36) | def ShapeAsNumpy(self): method ShapeLength (line 43) | def ShapeLength(self): method ShapeIsNone (line 50) | def ShapeIsNone(self): method Type (line 55) | def Type(self): method Buffer (line 62) | def Buffer(self): method Name (line 69) | def Name(self): method Quantization (line 76) | def Quantization(self): method IsVariable (line 87) | def IsVariable(self): method Sparsity (line 94) | def Sparsity(self): method ShapeSignature (line 105) | def ShapeSignature(self, j): method ShapeSignatureAsNumpy (line 113) | def ShapeSignatureAsNumpy(self): method ShapeSignatureLength (line 120) | def ShapeSignatureLength(self): method ShapeSignatureIsNone (line 127) | def ShapeSignatureIsNone(self): function TensorStart (line 131) | def TensorStart(builder): builder.StartObject(8) function TensorAddShape (line 132) | def TensorAddShape(builder, shape): builder.PrependUOffsetTRelativeSlot(... function TensorStartShapeVector (line 133) | def TensorStartShapeVector(builder, numElems): return builder.StartVecto... function TensorAddType (line 134) | def TensorAddType(builder, type): builder.PrependInt8Slot(1, type, 0) function TensorAddBuffer (line 135) | def TensorAddBuffer(builder, buffer): builder.PrependUint32Slot(2, buffe... function TensorAddName (line 136) | def TensorAddName(builder, name): builder.PrependUOffsetTRelativeSlot(3,... function TensorAddQuantization (line 137) | def TensorAddQuantization(builder, quantization): builder.PrependUOffset... function TensorAddIsVariable (line 138) | def TensorAddIsVariable(builder, isVariable): builder.PrependBoolSlot(5,... function TensorAddSparsity (line 139) | def TensorAddSparsity(builder, sparsity): builder.PrependUOffsetTRelativ... function TensorAddShapeSignature (line 140) | def TensorAddShapeSignature(builder, shapeSignature): builder.PrependUOf... function TensorStartShapeSignatureVector (line 141) | def TensorStartShapeSignatureVector(builder, numElems): return builder.S... function TensorEnd (line 142) | def TensorEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/TensorType.py class TensorType (line 5) | class TensorType(object): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/TileOptions.py class TileOptions (line 9) | class TileOptions(object): method GetRootAsTileOptions (line 13) | def GetRootAsTileOptions(cls, buf, offset): method TileOptionsBufferHasIdentifier (line 20) | def TileOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): function TileOptionsStart (line 27) | def TileOptionsStart(builder): builder.StartObject(0) function TileOptionsEnd (line 28) | def TileOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/TopKV2Options.py class TopKV2Options (line 9) | class TopKV2Options(object): method GetRootAsTopKV2Options (line 13) | def GetRootAsTopKV2Options(cls, buf, offset): method TopKV2OptionsBufferHasIdentifier (line 20) | def TopKV2OptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): function TopKV2OptionsStart (line 27) | def TopKV2OptionsStart(builder): builder.StartObject(0) function TopKV2OptionsEnd (line 28) | def TopKV2OptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/TransposeConvOptions.py class TransposeConvOptions (line 9) | class TransposeConvOptions(object): method GetRootAsTransposeConvOptions (line 13) | def GetRootAsTransposeConvOptions(cls, buf, offset): method TransposeConvOptionsBufferHasIdentifier (line 20) | def TransposeConvOptionsBufferHasIdentifier(cls, buf, offset, size_pre... method Init (line 24) | def Init(self, buf, pos): method Padding (line 28) | def Padding(self): method StrideW (line 35) | def StrideW(self): method StrideH (line 42) | def StrideH(self): function TransposeConvOptionsStart (line 48) | def TransposeConvOptionsStart(builder): builder.StartObject(3) function TransposeConvOptionsAddPadding (line 49) | def TransposeConvOptionsAddPadding(builder, padding): builder.PrependInt... function TransposeConvOptionsAddStrideW (line 50) | def TransposeConvOptionsAddStrideW(builder, strideW): builder.PrependInt... function TransposeConvOptionsAddStrideH (line 51) | def TransposeConvOptionsAddStrideH(builder, strideH): builder.PrependInt... function TransposeConvOptionsEnd (line 52) | def TransposeConvOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/TransposeOptions.py class TransposeOptions (line 9) | class TransposeOptions(object): method GetRootAsTransposeOptions (line 13) | def GetRootAsTransposeOptions(cls, buf, offset): method TransposeOptionsBufferHasIdentifier (line 20) | def TransposeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function TransposeOptionsStart (line 27) | def TransposeOptionsStart(builder): builder.StartObject(0) function TransposeOptionsEnd (line 28) | def TransposeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Uint16Vector.py class Uint16Vector (line 9) | class Uint16Vector(object): method GetRootAsUint16Vector (line 13) | def GetRootAsUint16Vector(cls, buf, offset): method Uint16VectorBufferHasIdentifier (line 20) | def Uint16VectorBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): method Values (line 28) | def Values(self, j): method ValuesAsNumpy (line 36) | def ValuesAsNumpy(self): method ValuesLength (line 43) | def ValuesLength(self): method ValuesIsNone (line 50) | def ValuesIsNone(self): function Uint16VectorStart (line 54) | def Uint16VectorStart(builder): builder.StartObject(1) function Uint16VectorAddValues (line 55) | def Uint16VectorAddValues(builder, values): builder.PrependUOffsetTRelat... function Uint16VectorStartValuesVector (line 56) | def Uint16VectorStartValuesVector(builder, numElems): return builder.Sta... function Uint16VectorEnd (line 57) | def Uint16VectorEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/Uint8Vector.py class Uint8Vector (line 9) | class Uint8Vector(object): method GetRootAsUint8Vector (line 13) | def GetRootAsUint8Vector(cls, buf, offset): method Uint8VectorBufferHasIdentifier (line 20) | def Uint8VectorBufferHasIdentifier(cls, buf, offset, size_prefixed=Fal... method Init (line 24) | def Init(self, buf, pos): method Values (line 28) | def Values(self, j): method ValuesAsNumpy (line 36) | def ValuesAsNumpy(self): method ValuesLength (line 43) | def ValuesLength(self): method ValuesIsNone (line 50) | def ValuesIsNone(self): function Uint8VectorStart (line 54) | def Uint8VectorStart(builder): builder.StartObject(1) function Uint8VectorAddValues (line 55) | def Uint8VectorAddValues(builder, values): builder.PrependUOffsetTRelati... function Uint8VectorStartValuesVector (line 56) | def Uint8VectorStartValuesVector(builder, numElems): return builder.Star... function Uint8VectorEnd (line 57) | def Uint8VectorEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/UnidirectionalSequenceLSTMOptions.py class UnidirectionalSequenceLSTMOptions (line 9) | class UnidirectionalSequenceLSTMOptions(object): method GetRootAsUnidirectionalSequenceLSTMOptions (line 13) | def GetRootAsUnidirectionalSequenceLSTMOptions(cls, buf, offset): method UnidirectionalSequenceLSTMOptionsBufferHasIdentifier (line 20) | def UnidirectionalSequenceLSTMOptionsBufferHasIdentifier(cls, buf, off... method Init (line 24) | def Init(self, buf, pos): method FusedActivationFunction (line 28) | def FusedActivationFunction(self): method CellClip (line 35) | def CellClip(self): method ProjClip (line 42) | def ProjClip(self): method TimeMajor (line 49) | def TimeMajor(self): method AsymmetricQuantizeInputs (line 56) | def AsymmetricQuantizeInputs(self): function UnidirectionalSequenceLSTMOptionsStart (line 62) | def UnidirectionalSequenceLSTMOptionsStart(builder): builder.StartObject(5) function UnidirectionalSequenceLSTMOptionsAddFusedActivationFunction (line 63) | def UnidirectionalSequenceLSTMOptionsAddFusedActivationFunction(builder,... function UnidirectionalSequenceLSTMOptionsAddCellClip (line 64) | def UnidirectionalSequenceLSTMOptionsAddCellClip(builder, cellClip): bui... function UnidirectionalSequenceLSTMOptionsAddProjClip (line 65) | def UnidirectionalSequenceLSTMOptionsAddProjClip(builder, projClip): bui... function UnidirectionalSequenceLSTMOptionsAddTimeMajor (line 66) | def UnidirectionalSequenceLSTMOptionsAddTimeMajor(builder, timeMajor): b... function UnidirectionalSequenceLSTMOptionsAddAsymmetricQuantizeInputs (line 67) | def UnidirectionalSequenceLSTMOptionsAddAsymmetricQuantizeInputs(builder... function UnidirectionalSequenceLSTMOptionsEnd (line 68) | def UnidirectionalSequenceLSTMOptionsEnd(builder): return builder.EndObj... FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/UniqueOptions.py class UniqueOptions (line 9) | class UniqueOptions(object): method GetRootAsUniqueOptions (line 13) | def GetRootAsUniqueOptions(cls, buf, offset): method UniqueOptionsBufferHasIdentifier (line 20) | def UniqueOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method IdxOutType (line 28) | def IdxOutType(self): function UniqueOptionsStart (line 34) | def UniqueOptionsStart(builder): builder.StartObject(1) function UniqueOptionsAddIdxOutType (line 35) | def UniqueOptionsAddIdxOutType(builder, idxOutType): builder.PrependInt8... function UniqueOptionsEnd (line 36) | def UniqueOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/UnpackOptions.py class UnpackOptions (line 9) | class UnpackOptions(object): method GetRootAsUnpackOptions (line 13) | def GetRootAsUnpackOptions(cls, buf, offset): method UnpackOptionsBufferHasIdentifier (line 20) | def UnpackOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=F... method Init (line 24) | def Init(self, buf, pos): method Num (line 28) | def Num(self): method Axis (line 35) | def Axis(self): function UnpackOptionsStart (line 41) | def UnpackOptionsStart(builder): builder.StartObject(2) function UnpackOptionsAddNum (line 42) | def UnpackOptionsAddNum(builder, num): builder.PrependInt32Slot(0, num, 0) function UnpackOptionsAddAxis (line 43) | def UnpackOptionsAddAxis(builder, axis): builder.PrependInt32Slot(1, axi... function UnpackOptionsEnd (line 44) | def UnpackOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/WhereOptions.py class WhereOptions (line 9) | class WhereOptions(object): method GetRootAsWhereOptions (line 13) | def GetRootAsWhereOptions(cls, buf, offset): method WhereOptionsBufferHasIdentifier (line 20) | def WhereOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): function WhereOptionsStart (line 27) | def WhereOptionsStart(builder): builder.StartObject(0) function WhereOptionsEnd (line 28) | def WhereOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/WhileOptions.py class WhileOptions (line 9) | class WhileOptions(object): method GetRootAsWhileOptions (line 13) | def GetRootAsWhileOptions(cls, buf, offset): method WhileOptionsBufferHasIdentifier (line 20) | def WhileOptionsBufferHasIdentifier(cls, buf, offset, size_prefixed=Fa... method Init (line 24) | def Init(self, buf, pos): method CondSubgraphIndex (line 28) | def CondSubgraphIndex(self): method BodySubgraphIndex (line 35) | def BodySubgraphIndex(self): function WhileOptionsStart (line 41) | def WhileOptionsStart(builder): builder.StartObject(2) function WhileOptionsAddCondSubgraphIndex (line 42) | def WhileOptionsAddCondSubgraphIndex(builder, condSubgraphIndex): builde... function WhileOptionsAddBodySubgraphIndex (line 43) | def WhileOptionsAddBodySubgraphIndex(builder, bodySubgraphIndex): builde... function WhileOptionsEnd (line 44) | def WhileOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/flatbuffers/ZerosLikeOptions.py class ZerosLikeOptions (line 9) | class ZerosLikeOptions(object): method GetRootAsZerosLikeOptions (line 13) | def GetRootAsZerosLikeOptions(cls, buf, offset): method ZerosLikeOptionsBufferHasIdentifier (line 20) | def ZerosLikeOptionsBufferHasIdentifier(cls, buf, offset, size_prefixe... method Init (line 24) | def Init(self, buf, pos): function ZerosLikeOptionsStart (line 27) | def ZerosLikeOptionsStart(builder): builder.StartObject(0) function ZerosLikeOptionsEnd (line 28) | def ZerosLikeOptionsEnd(builder): return builder.EndObject() FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/helpers.py function camel_to_snake (line 294) | def camel_to_snake(s): function snake_to_camel (line 299) | def snake_to_camel(s): function substitute_enum_value_with_name (line 303) | def substitute_enum_value_with_name(key, value, optionsClass): function substitute_enum_name_with_value (line 308) | def substitute_enum_name_with_value(key, name, optionsClass): function _generate_enum_value_by_name (line 313) | def _generate_enum_value_by_name(enumClass): function _generate_enum_name_by_value (line 317) | def _generate_enum_name_by_value(enumClass): function enumerate_options_getters (line 321) | def enumerate_options_getters(optionsClass): function enumerate_options_length_getters (line 329) | def enumerate_options_length_getters(optionsClass): function enumerate_options_adders (line 335) | def enumerate_options_adders(optionsClass): function enumerate_options_vector_starters (line 343) | def enumerate_options_vector_starters(optionsClass): function get_options_starter_ender (line 351) | def get_options_starter_ender(optionsClass): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/reader.py function _get_quantization (line 28) | def _get_quantization(tensor): function _get_data_as_ndarray (line 67) | def _get_data_as_ndarray(buffer, dtype, shape): function _get_options_starter_ender (line 71) | def _get_options_starter_ender(optionsClass): function _enumerate_attributes (line 78) | def _enumerate_attributes(optionsClass, optionsObject): function _decode_custom_options (line 94) | def _decode_custom_options(bytes): function read_flatbuffers (line 100) | def read_flatbuffers(filename): class Reader (line 167) | class Reader(object): method __call__ (line 169) | def __call__(self, filename): FILE: nnef_tools-pyproject/nnef_tools/io/tf/lite/writer.py function _CreateNumpyVector (line 27) | def _CreateNumpyVector(builder, x): function _build_buffer (line 50) | def _build_buffer(builder, bytes): function _build_tensor (line 57) | def _build_tensor(builder, tensor, buffer_index): function _ensure_numpy_array (line 80) | def _ensure_numpy_array(x, dtype): function _build_quantization (line 88) | def _build_quantization(builder, quant, dtype): function _build_operator_code (line 118) | def _build_operator_code(builder, operation): function _build_operator_options (line 129) | def _build_operator_options(builder, attribs, optionsClass): function _encode_custom_options (line 160) | def _encode_custom_options(attribs): function _build_operator_custom_options (line 166) | def _build_operator_custom_options(builder, attribs): function _build_operator (line 175) | def _build_operator(builder, operation, op_code_index, tensor_index): function FinishWithFileIdentifier (line 211) | def FinishWithFileIdentifier(builder, rootTable, fid): function write_flatbuffers (line 228) | def write_flatbuffers(graph, filename): class Writer (line 328) | class Writer(object): method __call__ (line 330) | def __call__(self, graph, filename): FILE: nnef_tools-pyproject/nnef_tools/model/graph.py class Tensor (line 26) | class Tensor: method __init__ (line 28) | def __init__(self, method copy_with (line 50) | def copy_with(self, graph=None, name=None, dtype=None, shape=None, dat... method graph (line 59) | def graph(self): method has_producer (line 64) | def has_producer(self): method producers (line 68) | def producers(self): method producer (line 73) | def producer(self): method has_consumer (line 79) | def has_consumer(self): method consumers (line 83) | def consumers(self): method consumer (line 88) | def consumer(self): method name (line 93) | def name(self): method name (line 97) | def name(self, name): method shape (line 102) | def shape(self): method shape (line 106) | def shape(self, shape): method dtype (line 112) | def dtype(self): method dtype (line 116) | def dtype(self, dtype): method rank (line 121) | def rank(self): method volume (line 126) | def volume(self): method is_constant (line 132) | def is_constant(self): method __repr__ (line 136) | def __repr__(self): method __str__ (line 139) | def __str__(self): class Operation (line 150) | class Operation: method __init__ (line 152) | def __init__(self, method copy_with (line 185) | def copy_with(self, graph=None, type=None, name=None, attribs=None, in... method graph (line 195) | def graph(self): method inputs (line 200) | def inputs(self): method input (line 205) | def input(self): method inputs (line 211) | def inputs(self, tensors): method outputs (line 229) | def outputs(self): method output (line 234) | def output(self): method outputs (line 240) | def outputs(self, tensors): method type (line 257) | def type(self): method type (line 261) | def type(self, type): method name (line 266) | def name(self): method name (line 270) | def name(self, name): method __repr__ (line 274) | def __repr__(self): method __str__ (line 277) | def __str__(self): class Graph (line 286) | class Graph: method __init__ (line 288) | def __init__(self, name=None): method name (line 297) | def name(self): method name (line 301) | def name(self, name): method operations (line 306) | def operations(self): method tensors (line 311) | def tensors(self): method inputs (line 316) | def inputs(self): method inputs (line 321) | def inputs(self, tensors): method outputs (line 331) | def outputs(self): method outputs (line 336) | def outputs(self, tensors): method remove_tensor (line 345) | def remove_tensor(self, tensor): method remove_tensors (line 354) | def remove_tensors(self, tensors): method remove_operation (line 365) | def remove_operation(self, operation, unlink=False): method remove_operations (line 376) | def remove_operations(self, operations, unlink=False): method is_unique (line 390) | def is_unique(self): method is_sorted (line 393) | def is_sorted(self): method sort (line 403) | def sort(self, offset=0): method move_operation (line 418) | def move_operation(self, at_idx, to_idx): method reverse (line 421) | def reverse(self, offset=0): method __repr__ (line 424) | def __repr__(self): method __str__ (line 427) | def __str__(self): method print (line 434) | def print(self, file=None): method assert_consistent (line 460) | def assert_consistent(self): class _ListView (line 479) | class _ListView(Sequence): method __init__ (line 481) | def __init__(self, lst): method __len__ (line 484) | def __len__(self): method __getitem__ (line 487) | def __getitem__(self, item): method __iter__ (line 490) | def __iter__(self): method __repr__ (line 493) | def __repr__(self): method __str__ (line 496) | def __str__(self): method __contains__ (line 499) | def __contains__(self, item): method __reversed__ (line 502) | def __reversed__(self): function _hex_id (line 506) | def _hex_id(obj): FILE: nnef_tools-pyproject/nnef_tools/model/utils.py function _split_counter_from_name (line 18) | def _split_counter_from_name(str): function generate_tensor_names_from_op_type (line 30) | def generate_tensor_names_from_op_type(graph, keep_io_names=False): function generate_missing_tensor_names_from_op_type (line 55) | def generate_missing_tensor_names_from_op_type(graph): function generate_op_names_from_op_type (line 71) | def generate_op_names_from_op_type(graph): function replace_tensor_in_graph_inputs (line 79) | def replace_tensor_in_graph_inputs(graph, old_tensor, new_tensor): function replace_tensor_in_graph_outputs (line 83) | def replace_tensor_in_graph_outputs(graph, old_tensor, new_tensor): function replace_tensor_in_consumers (line 87) | def replace_tensor_in_consumers(graph, old_tensor, new_tensor): function replace_tensor_in_producers (line 95) | def replace_tensor_in_producers(graph, old_tensor, new_tensor): function bypass_and_remove (line 103) | def bypass_and_remove(graph, op, remove_input_not_output=False): function replace_chain (line 121) | def replace_chain(graph, types, func, allow_forks=False): function remove_unreachable (line 178) | def remove_unreachable(graph): function remove_dynamic (line 199) | def remove_dynamic(graph): FILE: nnef_tools-pyproject/nnef_tools/optimization/nnef_optimizer.py class Optimizer (line 20) | class Optimizer: method __init__ (line 22) | def __init__(self, keep_tensor_names=True, custom_optimizers=None, deq... method __call__ (line 27) | def __call__(self, graph, only_required=False): method _fix_inputs_without_producer (line 109) | def _fix_inputs_without_producer(graph): method _fix_inputs_as_output (line 121) | def _fix_inputs_as_output(graph): method _insert_copy (line 126) | def _insert_copy(tensor, copy=None): method _match_op_type (line 134) | def _match_op_type(type, types): method _remove_identity_ops (line 137) | def _remove_identity_ops(self, graph, type, cond): method _merge_op_into_variables_and_constants (line 145) | def _merge_op_into_variables_and_constants(self, graph, type, func): method _remove_inverse_ops (line 162) | def _remove_inverse_ops(self, graph, type1, type2, cond): method _merge_reshape_sequence (line 173) | def _merge_reshape_sequence(self, graph): method _get_reshape_shape (line 192) | def _get_reshape_shape(self, input, attribs): method _bypass_and_remove (line 198) | def _bypass_and_remove(self, graph, op): method _is_channelwise_shape (line 208) | def _is_channelwise_shape(shape): method _merge_linear_add (line 212) | def _merge_linear_add(linear, add, type=None): method _merge_matmul_bias (line 247) | def _merge_matmul_bias(matmul, add): method _is_sorted (line 273) | def _is_sorted(array): method _all_consumers_same (line 277) | def _all_consumers_same(tensor, type): method _unsqueeze_shape (line 282) | def _unsqueeze_shape(shape, axes): method _permute (line 288) | def _permute(items, perm): method _add_variable (line 295) | def _add_variable(graph, data, name, label=None): method _ensure_variable_producer (line 301) | def _ensure_variable_producer(tensor, label): method _merged_conv_batch_norm_params (line 309) | def _merged_conv_batch_norm_params(weights, bias, mean, variance, offs... method _merge_conv_batch_norm (line 317) | def _merge_conv_batch_norm(conv, bn): method _merged_batch_norm_params (line 347) | def _merged_batch_norm_params(mean, variance, offset, scale, epsilon): method _merge_batch_norm (line 353) | def _merge_batch_norm(bn): method _merge_mul_linear (line 373) | def _merge_mul_linear(mul, linear): method _merge_linear_mul (line 399) | def _merge_linear_mul(linear, mul): method _remove_unused_variables_and_constants (line 434) | def _remove_unused_variables_and_constants(graph): method _merge_pad_with_sliding (line 443) | def _merge_pad_with_sliding(pad, sliding): method _squeeze_batch_and_spatial_dims (line 458) | def _squeeze_batch_and_spatial_dims(data): method _is_constant (line 462) | def _is_constant(tensor, value): method _is_uniform (line 471) | def _is_uniform(array, value): method _merge_transpose_squeeze (line 475) | def _merge_transpose_squeeze(transpose, squeeze): method _substitute_squeeze (line 491) | def _substitute_squeeze(reshape): method _dequantize_variables (line 517) | def _dequantize_variables(graph): method _remove_quantization_attribs (line 537) | def _remove_quantization_attribs(graph): method _ensure_quant_param_rank (line 542) | def _ensure_quant_param_rank(param, rank, offset=0): method _broadcastable (line 547) | def _broadcastable(x, y): method _is_zero (line 551) | def _is_zero(value): FILE: nnef_tools-pyproject/nnef_tools/optimization/onnx_optimizer.py class Optimizer (line 19) | class Optimizer: method __init__ (line 21) | def __init__(self, custom_optimizers=None): method __call__ (line 24) | def __call__(self, graph, only_required=False): method _fix_batchnorm_spatial (line 31) | def _fix_batchnorm_spatial(graph): FILE: nnef_tools-pyproject/nnef_tools/optimization/tf_optimizer.py class Optimizer (line 20) | class Optimizer: method __init__ (line 22) | def __init__(self, custom_optimizers=None): method __call__ (line 25) | def __call__(self, graph, only_required=False): method _fix_inputs_without_producer (line 36) | def _fix_inputs_without_producer(graph): method _op_name (line 48) | def _op_name(tensor_name): method _remove_unused_constants (line 53) | def _remove_unused_constants(graph): method _replace_dilated_conv (line 60) | def _replace_dilated_conv(space_to_batch, conv, batch_to_space): method _replace_bool_cast (line 93) | def _replace_bool_cast(cast): method _is_constant (line 113) | def _is_constant(tensor): method _read_constant (line 117) | def _read_constant(tensor): method _is_nxc (line 121) | def _is_nxc(format): method _is_same_padded (line 125) | def _is_same_padded(input, output, stride, is_nxc): method _make_constant_producer (line 131) | def _make_constant_producer(tensor): FILE: nnef_tools-pyproject/nnef_tools/optimization/tflite_optimizer.py class Optimizer (line 20) | class Optimizer: method __init__ (line 22) | def __init__(self, custom_optimizers=None): method __call__ (line 25) | def __call__(self, graph, only_required=False): method _replace_resize_nearest (line 35) | def _replace_resize_nearest(reshape1, reshape2, pack1, pack2, reshape3): method _replace_dilated_conv (line 58) | def _replace_dilated_conv(space_to_batch, conv, batch_to_space): method _is_constant (line 90) | def _is_constant(tensor): method _read_constant (line 94) | def _read_constant(tensor): method _is_same_padded (line 98) | def _is_same_padded(input, output, stride, is_nxc=True): method _eliminate_variable_dequantize_ops (line 104) | def _eliminate_variable_dequantize_ops(graph): method _replace_const_shape (line 121) | def _replace_const_shape(shape): FILE: nnef_tools-pyproject/nnef_tools/quantize.py function make_quantization (line 12) | def make_quantization(min, max, signed, symmetric): function quantize_params (line 34) | def quantize_params(params, zero_point, scale, signed, symmetric): function quantize_bias (line 42) | def quantize_bias(params, scale): function is_conv_param (line 46) | def is_conv_param(tensor): function is_conv_bias (line 50) | def is_conv_bias(tensor): function main (line 56) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/random_tensor.py function _is_lambda (line 22) | def _is_lambda(v): function uniform (line 27) | def uniform(min=0, max=1): function normal (line 31) | def normal(mean=0, std=1): function bernoulli (line 35) | def bernoulli(prob=0.5): function main (line 39) | def main(args): FILE: nnef_tools-pyproject/nnef_tools/utils/stdio.py function set_stdin_to_binary (line 18) | def set_stdin_to_binary(): function set_stdout_to_binary (line 26) | def set_stdout_to_binary(): function is_stdin_piped (line 34) | def is_stdin_piped(): function is_stdout_piped (line 38) | def is_stdout_piped(): FILE: nnef_tools-pyproject/nnef_tools/utils/types.py function as_str (line 21) | def as_str(s): function cast (line 55) | def cast(value, type): function from_numpy (line 59) | def from_numpy(array, type=None): function to_numpy (line 65) | def to_numpy(value, dtype=None): FILE: nnef_tools-pyproject/nnef_tools/visualize.py function _text_with_size (line 23) | def _text_with_size(text, size): function _format_tensor_label (line 27) | def _format_tensor_label(tensor): function _dtype_str (line 31) | def _dtype_str(dtype): function _shape_str (line 35) | def _shape_str(shape): function _truncate (line 39) | def _truncate(text, max_length=32): function _attribs_str (line 43) | def _attribs_str(attribs, separator): function _format_op_details (line 54) | def _format_op_details(op): function _format_op_label (line 65) | def _format_op_label(op): function _generate_digraph (line 70) | def _generate_digraph(graph, show_variables, verbose): function main (line 98) | def main(args): FILE: nnef_tools-pyproject/tests/conversion/graphdef_test.py class TestEnv (line 36) | class TestEnv(unittest.TestCase): method setUp (line 43) | def setUp(self) -> None: method tearDown (line 54) | def tearDown(self) -> None: method _save_graph_def (line 58) | def _save_graph_def(graph_def, filename): method _load_graph_def (line 63) | def _load_graph_def(filename): method _numpy_dtype (line 70) | def _numpy_dtype(tensor): method _exec_graph_def (line 74) | def _exec_graph_def(graph_def, only_first_output=False): method _random_data (line 94) | def _random_data(dtype, shape): method _convert_to_nnef (line 100) | def _convert_to_nnef(self, filename, input_shapes=None): method _convert_from_nnef (line 108) | def _convert_from_nnef(self, filename): method _test_conversion (line 113) | def _test_conversion(self, name, only_first_output=True, epsilon=1e-5): method _test_conversion_from_file (line 121) | def _test_conversion_from_file(self, filename, only_first_output=True,... class TestCases (line 143) | class TestCases(TestEnv): method test_conv1d (line 145) | def test_conv1d(self): method test_conv2d (line 152) | def test_conv2d(self): method test_conv3d (line 159) | def test_conv3d(self): method test_conv2d_explicit_padding (line 166) | def test_conv2d_explicit_padding(self): method test_conv2d_transpose (line 173) | def test_conv2d_transpose(self): method test_depthwise_conv2d (line 180) | def test_depthwise_conv2d(self): method test_depthwise_conv2d_transpose (line 187) | def test_depthwise_conv2d_transpose(self): method test_conv2d_dilated (line 194) | def test_conv2d_dilated(self): method test_max_pool2d (line 201) | def test_max_pool2d(self): method test_max_pool2d_with_index (line 207) | def test_max_pool2d_with_index(self): method test_avg_pool2d (line 213) | def test_avg_pool2d(self): method test_min_reduce (line 219) | def test_min_reduce(self): method test_max_reduce (line 225) | def test_max_reduce(self): method test_mean_reduce (line 231) | def test_mean_reduce(self): method test_sum_reduce (line 237) | def test_sum_reduce(self): method test_any_reduce (line 243) | def test_any_reduce(self): method test_all_reduce (line 249) | def test_all_reduce(self): method test_argmin_reduce (line 255) | def test_argmin_reduce(self): method test_argmax_reduce (line 262) | def test_argmax_reduce(self): method test_concat (line 269) | def test_concat(self): method test_split_sizes (line 276) | def test_split_sizes(self): method test_split_num (line 282) | def test_split_num(self): method test_reshape (line 288) | def test_reshape(self): method test_flatten (line 294) | def test_flatten(self): method test_squeeze (line 300) | def test_squeeze(self): method test_squeeze_all (line 307) | def test_squeeze_all(self): method test_transpose (line 314) | def test_transpose(self): method test_stack (line 321) | def test_stack(self): method test_unstack (line 330) | def test_unstack(self): method test_add (line 338) | def test_add(self): method test_add_broadcast (line 345) | def test_add_broadcast(self): method test_sub (line 352) | def test_sub(self): method test_sub_broadcast (line 359) | def test_sub_broadcast(self): method test_mul (line 366) | def test_mul(self): method test_mul_broadcast (line 373) | def test_mul_broadcast(self): method test_div (line 380) | def test_div(self): method test_div_boradcast (line 387) | def test_div_boradcast(self): method test_pow (line 394) | def test_pow(self): method test_min (line 401) | def test_min(self): method test_max (line 408) | def test_max(self): method test_and (line 415) | def test_and(self): method test_or (line 422) | def test_or(self): method test_lt (line 429) | def test_lt(self): method test_gt (line 436) | def test_gt(self): method test_le (line 443) | def test_le(self): method test_ge (line 450) | def test_ge(self): method test_eq (line 457) | def test_eq(self): method test_ne (line 464) | def test_ne(self): method test_identity (line 471) | def test_identity(self): method test_relu (line 477) | def test_relu(self): method test_elu (line 483) | def test_elu(self): method test_selu (line 489) | def test_selu(self): method test_relu6 (line 495) | def test_relu6(self): method test_leaky_relu (line 501) | def test_leaky_relu(self): method test_sigmoid (line 507) | def test_sigmoid(self): method test_softplus (line 513) | def test_softplus(self): method test_exp (line 519) | def test_exp(self): method test_log (line 525) | def test_log(self): method test_sin (line 531) | def test_sin(self): method test_cos (line 537) | def test_cos(self): method test_tan (line 543) | def test_tan(self): method test_sinh (line 549) | def test_sinh(self): method test_cosh (line 555) | def test_cosh(self): method test_tanh (line 561) | def test_tanh(self): method test_sign (line 567) | def test_sign(self): method test_abs (line 573) | def test_abs(self): method test_neg (line 579) | def test_neg(self): method test_rcp (line 585) | def test_rcp(self): method test_floor (line 591) | def test_floor(self): method test_ceil (line 597) | def test_ceil(self): method test_round (line 603) | def test_round(self): method test_sqr (line 609) | def test_sqr(self): method test_sqrt (line 615) | def test_sqrt(self): method test_rsqrt (line 621) | def test_rsqrt(self): method test_not (line 627) | def test_not(self): method test_cast (line 633) | def test_cast(self): method test_cast_ints (line 639) | def test_cast_ints(self): method test_cast_float_bool (line 646) | def test_cast_float_bool(self): method test_select (line 652) | def test_select(self): method test_clamp (line 660) | def test_clamp(self): method test_batch_norm (line 666) | def test_batch_norm(self): method test_fused_batch_norm (line 677) | def test_fused_batch_norm(self): method test_bias_add (line 688) | def test_bias_add(self): method test_softmax (line 695) | def test_softmax(self): method test_conv_bias_relu_pool (line 701) | def test_conv_bias_relu_pool(self): method test_conv_mul_add (line 717) | def test_conv_mul_add(self): method test_mul_conv (line 730) | def test_mul_conv(self): method test_matmul (line 745) | def test_matmul(self): method test_matmul_trans (line 752) | def test_matmul_trans(self): method test_pad (line 759) | def test_pad(self): method test_pad_mirror (line 765) | def test_pad_mirror(self): method test_pad_symmetric (line 771) | def test_pad_symmetric(self): method test_slice (line 777) | def test_slice(self): method test_strided_slice (line 783) | def test_strided_slice(self): method test_strided_slice_shrink_axis (line 789) | def test_strided_slice_shrink_axis(self): method test_strided_slice_new_axis (line 796) | def test_strided_slice_new_axis(self): method test_strided_slice_flip (line 803) | def test_strided_slice_flip(self): method test_tile (line 809) | def test_tile(self): method test_gather (line 815) | def test_gather(self): method test_upsample_nearest (line 822) | def test_upsample_nearest(self): method test_downsample_nearest (line 828) | def test_downsample_nearest(self): method test_downsample_area (line 834) | def test_downsample_area(self): method test_upsample_linear (line 840) | def test_upsample_linear(self): method test_lrn (line 846) | def test_lrn(self): method test_l2_normalize (line 852) | def test_l2_normalize(self): method test_add_n (line 858) | def test_add_n(self): class NetworkTestCases (line 867) | class NetworkTestCases(TestEnv): method test_mobilenet_v1 (line 869) | def test_mobilenet_v1(self): method test_mobilenet_v2 (line 873) | def test_mobilenet_v2(self): method test_inception_v3 (line 877) | def test_inception_v3(self): method test_inception_v4 (line 881) | def test_inception_v4(self): method test_inception_resnet_v2 (line 885) | def test_inception_resnet_v2(self): method test_squeezenet (line 889) | def test_squeezenet(self): method test_nasnet (line 893) | def test_nasnet(self): FILE: nnef_tools-pyproject/tests/conversion/onnx_test.py class TestEnv (line 33) | class TestEnv(unittest.TestCase): method setUp (line 57) | def setUp(self) -> None: method tearDown (line 69) | def tearDown(self) -> None: method _convert_to_nnef (line 72) | def _convert_to_nnef(self, filename): method _convert_from_nnef (line 81) | def _convert_from_nnef(self, filename): method _random_data (line 87) | def _random_data(dtype, shape): method _exec_model (line 94) | def _exec_model(filename): method _create_tensor (line 113) | def _create_tensor(value_info, data): method _create_model (line 122) | def _create_model(name, nodes, inputs, outputs, constants, values, ops... method _save_model (line 132) | def _save_model(model_def, filename): method _test_conversion (line 136) | def _test_conversion(self, name, nodes, inputs, outputs, constants=Non... method _test_conversion_from_file (line 143) | def _test_conversion_from_file(self, filename, epsilon=1e-5): method _test_unary (line 158) | def _test_unary(self, op_type, dtype=TensorProto.FLOAT, method _test_binary (line 171) | def _test_binary(self, op_type, input_dtype=TensorProto.FLOAT, output_... method _test_reduce (line 185) | def _test_reduce(self, op_type, keepdims, dtype=TensorProto.FLOAT, p=N... class TestCases (line 201) | class TestCases(TestEnv): method test_conv1d (line 203) | def test_conv1d(self): method test_conv2d (line 217) | def test_conv2d(self): method test_conv2d_nobias (line 231) | def test_conv2d_nobias(self): method test_conv2d_valid (line 244) | def test_conv2d_valid(self): method test_conv2d_pads (line 258) | def test_conv2d_pads(self): method test_conv2d_same_lower (line 272) | def test_conv2d_same_lower(self): method test_conv2d_transpose (line 286) | def test_conv2d_transpose(self): method test_conv2d_transpose_output_shape (line 301) | def test_conv2d_transpose_output_shape(self): method test_conv2d_transpose_output_padding_strided (line 316) | def test_conv2d_transpose_output_padding_strided(self): method test_conv3d (line 332) | def test_conv3d(self): method test_max_pool1d (line 346) | def test_max_pool1d(self): method test_max_pool2d (line 359) | def test_max_pool2d(self): method test_max_pool2d_valid (line 372) | def test_max_pool2d_valid(self): method test_max_pool2d_pads (line 385) | def test_max_pool2d_pads(self): method test_max_pool3d (line 398) | def test_max_pool3d(self): method test_avg_pool2d (line 411) | def test_avg_pool2d(self): method test_global_avg_pool2d (line 424) | def test_global_avg_pool2d(self): method test_global_max_pool2d (line 435) | def test_global_max_pool2d(self): method test_lp_pool2d (line 446) | def test_lp_pool2d(self): method test_global_lp_pool2d (line 460) | def test_global_lp_pool2d(self): method test_batch_norm (line 472) | def test_batch_norm(self): method test_transpose (line 487) | def test_transpose(self): method test_reshape (line 499) | def test_reshape(self): method test_flatten (line 512) | def test_flatten(self): method test_squeeze (line 524) | def test_squeeze(self): method test_unsqueeze (line 536) | def test_unsqueeze(self): method test_matmul (line 548) | def test_matmul(self): method test_gemm (line 560) | def test_gemm(self): method test_linear (line 572) | def test_linear(self): method test_lrn (line 586) | def test_lrn(self): method test_concat (line 598) | def test_concat(self): method test_split (line 611) | def test_split(self): method test_split_dynamic (line 625) | def test_split_dynamic(self): method test_sum (line 640) | def test_sum(self): method test_softmax (line 652) | def test_softmax(self): method test_leaky_relu (line 664) | def test_leaky_relu(self): method test_prelu (line 675) | def test_prelu(self): method test_where (line 687) | def test_where(self): method test_clip (line 700) | def test_clip(self): method test_argmin (line 713) | def test_argmin(self): method test_argmax (line 726) | def test_argmax(self): method test_pad (line 739) | def test_pad(self): method test_tile (line 752) | def test_tile(self): method test_expand (line 765) | def test_expand(self): method test_slice (line 778) | def test_slice(self): method test_strided_slice (line 793) | def test_strided_slice(self): method test_flip (line 809) | def test_flip(self): method test_l1_normalization (line 825) | def test_l1_normalization(self): method test_l2_normalization (line 838) | def test_l2_normalization(self): method test_mean_variance_normalization (line 851) | def test_mean_variance_normalization(self): method test_instance_normalization (line 863) | def test_instance_normalization(self): method test_lp_reduce (line 876) | def test_lp_reduce(self): method test_nearest_upsample (line 889) | def test_nearest_upsample(self): method test_linear_upsample (line 902) | def test_linear_upsample(self): method test_resize_nearest_upsample (line 915) | def test_resize_nearest_upsample(self): method test_resize_linear_upsample (line 930) | def test_resize_linear_upsample(self): method test_resize_nearest_downsample (line 945) | def test_resize_nearest_downsample(self): method test_cast (line 960) | def test_cast(self): method test_gather (line 972) | def test_gather(self): method test_lstm (line 985) | def test_lstm(self): method test_depth_to_space (line 1004) | def test_depth_to_space(self): method test_depth_to_space_CRD (line 1016) | def test_depth_to_space_CRD(self): method test_space_to_depth (line 1029) | def test_space_to_depth(self): method test_min_recude (line 1041) | def test_min_recude(self): method test_max_recude (line 1044) | def test_max_recude(self): method test_mean_recude (line 1047) | def test_mean_recude(self): method test_sum_recude (line 1050) | def test_sum_recude(self): method test_max_recude_keepdims (line 1053) | def test_max_recude_keepdims(self): method test_relu (line 1056) | def test_relu(self): method test_sigmoid (line 1059) | def test_sigmoid(self): method test_tanh (line 1062) | def test_tanh(self): method test_softplus (line 1065) | def test_softplus(self): method test_selu (line 1068) | def test_selu(self): method test_not (line 1071) | def test_not(self): method test_elu (line 1074) | def test_elu(self): method test_erf (line 1077) | def test_erf(self): method test_abs (line 1080) | def test_abs(self): method test_sign (line 1083) | def test_sign(self): method test_sin (line 1086) | def test_sin(self): method test_cos (line 1089) | def test_cos(self): method test_tan (line 1092) | def test_tan(self): method test_asin (line 1095) | def test_asin(self): method test_acos (line 1098) | def test_acos(self): method test_atan (line 1101) | def test_atan(self): method test_sinh (line 1104) | def test_sinh(self): method test_cosh (line 1107) | def test_cosh(self): method test_tanh (line 1110) | def test_tanh(self): method test_exp (line 1113) | def test_exp(self): method test_log (line 1116) | def test_log(self): method test_neg (line 1119) | def test_neg(self): method test_sqrt (line 1122) | def test_sqrt(self): method test_ceil (line 1125) | def test_ceil(self): method test_floor (line 1128) | def test_floor(self): method test_round (line 1131) | def test_round(self): method test_add (line 1134) | def test_add(self): method test_sub (line 1137) | def test_sub(self): method test_mul (line 1140) | def test_mul(self): method test_div (line 1143) | def test_div(self): method test_pow (line 1146) | def test_pow(self): method test_min (line 1149) | def test_min(self): method test_max (line 1152) | def test_max(self): method test_and (line 1155) | def test_and(self): method test_or (line 1158) | def test_or(self): method test_equal (line 1161) | def test_equal(self): method test_less (line 1164) | def test_less(self): method test_greater (line 1167) | def test_greater(self): class NetworkTestCases (line 1173) | class NetworkTestCases(TestEnv): method test_alexnet (line 1175) | def test_alexnet(self): method test_googlenet (line 1178) | def test_googlenet(self): method test_inception_v1 (line 1181) | def test_inception_v1(self): method test_inception_v2 (line 1184) | def test_inception_v2(self): method test_mobilenet_v1 (line 1187) | def test_mobilenet_v1(self): method test_mobilenet_v2 (line 1190) | def test_mobilenet_v2(self): method test_resnet50_v1 (line 1193) | def test_resnet50_v1(self): method test_resnet50_v2 (line 1196) | def test_resnet50_v2(self): method test_squeezenet_v1 (line 1199) | def test_squeezenet_v1(self): method test_shufflenet_v1 (line 1202) | def test_shufflenet_v1(self): method test_shufflenet_v2 (line 1205) | def test_shufflenet_v2(self): FILE: nnef_tools-pyproject/tests/conversion/tflite_test.py class TestEnv (line 35) | class TestEnv(unittest.TestCase): method setUp (line 43) | def setUp(self) -> None: method tearDown (line 56) | def tearDown(self) -> None: method _convert_to_nnef (line 59) | def _convert_to_nnef(self, filename): method _convert_from_nnef (line 68) | def _convert_from_nnef(self, filename): method _save_default_graph (line 73) | def _save_default_graph(self, inputs, outputs, filename): method _exec_model (line 82) | def _exec_model(model_path): method _dequantize (line 101) | def _dequantize(data, scale, zero_point): method _random_data (line 105) | def _random_data(dtype, shape): method _test_conversion (line 113) | def _test_conversion(self, name, inputs, outputs, epsilon=1e-4): method _test_conversion_from_file (line 118) | def _test_conversion_from_file(self, filename, epsilon=1e-4): class TestCases (line 134) | class TestCases(TestEnv): method test_conv1d (line 136) | def test_conv1d(self): method test_conv2d (line 143) | def test_conv2d(self): method test_conv2d_transpose (line 150) | def test_conv2d_transpose(self): method test_depthwise_conv2d (line 157) | def test_depthwise_conv2d(self): method test_max_pool2d (line 164) | def test_max_pool2d(self): method test_avg_pool2d (line 170) | def test_avg_pool2d(self): method test_reshape (line 176) | def test_reshape(self): method test_flatten (line 182) | def test_flatten(self): method test_squeeze (line 188) | def test_squeeze(self): method test_unsqueeze (line 194) | def test_unsqueeze(self): method test_transpose (line 200) | def test_transpose(self): method test_concat (line 206) | def test_concat(self): method test_split_sizes (line 213) | def test_split_sizes(self): method test_split_num (line 219) | def test_split_num(self): method test_pad (line 225) | def test_pad(self): method test_pad_reflect (line 231) | def test_pad_reflect(self): method test_pad_symmetric (line 237) | def test_pad_symmetric(self): method test_tile (line 243) | def test_tile(self): method test_slice (line 249) | def test_slice(self): method test_strided_slice (line 255) | def test_strided_slice(self): method test_strided_slice_flip (line 261) | def test_strided_slice_flip(self): method test_gather (line 267) | def test_gather(self): method test_relu (line 274) | def test_relu(self): method test_relu6 (line 280) | def test_relu6(self): method test_elu (line 286) | def test_elu(self): method test_sigmoid (line 292) | def test_sigmoid(self): method test_tanh (line 298) | def test_tanh(self): method test_sin (line 304) | def test_sin(self): method test_cos (line 310) | def test_cos(self): method test_log (line 316) | def test_log(self): method test_exp (line 322) | def test_exp(self): method test_neg (line 328) | def test_neg(self): method test_floor (line 334) | def test_floor(self): method test_ceil (line 340) | def test_ceil(self): method test_round (line 346) | def test_round(self): method test_sqr (line 352) | def test_sqr(self): method test_sqrt (line 358) | def test_sqrt(self): method test_rsqrt (line 364) | def test_rsqrt(self): method test_not (line 370) | def test_not(self): method test_abs (line 376) | def test_abs(self): method test_leaky_relu (line 382) | def test_leaky_relu(self): method test_add (line 388) | def test_add(self): method test_sub (line 395) | def test_sub(self): method test_mul (line 402) | def test_mul(self): method test_div (line 409) | def test_div(self): method test_pow (line 416) | def test_pow(self): method test_min (line 423) | def test_min(self): method test_max (line 430) | def test_max(self): method test_and (line 437) | def test_and(self): method test_or (line 444) | def test_or(self): method test_lt (line 451) | def test_lt(self): method test_le (line 458) | def test_le(self): method test_gt (line 465) | def test_gt(self): method test_ge (line 472) | def test_ge(self): method test_eq (line 479) | def test_eq(self): method test_ne (line 486) | def test_ne(self): method test_min_reduce (line 493) | def test_min_reduce(self): method test_max_reduce (line 499) | def test_max_reduce(self): method test_mean_reduce (line 505) | def test_mean_reduce(self): method test_sum_reduce (line 511) | def test_sum_reduce(self): method test_any_reduce (line 517) | def test_any_reduce(self): method test_argmin_reduce (line 523) | def test_argmin_reduce(self): method test_argmax_reduce (line 529) | def test_argmax_reduce(self): method test_stack (line 535) | def test_stack(self): method test_unstack (line 544) | def test_unstack(self): method test_conv_bias_relu_pool (line 552) | def test_conv_bias_relu_pool(self): method test_softmax (line 568) | def test_softmax(self): method test_matmul (line 574) | def test_matmul(self): method test_matmul_trans (line 581) | def test_matmul_trans(self): method test_l2_normalize (line 588) | def test_l2_normalize(self): method test_lrn (line 594) | def test_lrn(self): method test_upsample_nearest (line 600) | def test_upsample_nearest(self): method test_downsample_nearest (line 606) | def test_downsample_nearest(self): method test_upsample_linear (line 612) | def test_upsample_linear(self): method test_select (line 618) | def test_select(self): method test_batch_norm (line 626) | def test_batch_norm(self): method test_add_n (line 637) | def test_add_n(self): method test_cast (line 643) | def test_cast(self): class NetworkTestCases (line 652) | class NetworkTestCases(TestEnv): method test_inception_v1 (line 654) | def test_inception_v1(self): method test_inception_v2 (line 657) | def test_inception_v2(self): method test_inception_v3 (line 660) | def test_inception_v3(self): method test_inception_v4 (line 663) | def test_inception_v4(self): method test_mobilenet_v1 (line 666) | def test_mobilenet_v1(self): method test_mobilenet_v2 (line 669) | def test_mobilenet_v2(self):