Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BuiltinOperator (0.29 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        }
        return false;
      }
    
      // Returns the producer op code of the specified tensor_idx.
      bool GetProducerOpCode(const Model* model, uint32_t subgraph_idx,
                             uint32_t tensor_idx, BuiltinOperator* op_code) {
        const auto subgraph = model->subgraphs()->Get(subgraph_idx);
        for (size_t op_idx = 0; op_idx < subgraph->operators()->size(); ++op_idx) {
          const auto op = subgraph->operators()->Get(op_idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    // ones, but not by much. Moreover, while custom operators accept an opaque
    // object containing configuration parameters, builtins have a predetermined
    // set of acceptable options.
    // LINT.IfChange
    enum BuiltinOperator : int32 {
      ADD = 0,
      AVERAGE_POOL_2D = 1,
      CONCATENATION = 2,
      CONV_2D = 3,
      DEPTHWISE_CONV_2D = 4,
      DEPTH_TO_SPACE = 5,
      DEQUANTIZE = 6,
      EMBEDDING_LOOKUP = 7,
      FLOOR = 8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/converter_gen.cc

        return "LSTM";
      }
      return name.upper();
    }
    
    // Emits a function that returns built-in operator code for each TFLite op.
    //
    // The signature of the function is:
    //
    //   std::optional<tflite::BuiltinOperator>
    //   mlir::GetBuiltinOpCode(mlir::Operation* op);
    //
    // TODO(hinsu): Consider converting this to a static constant associative
    // container instead of a series of if conditions, if required.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    std::string GetMlirOpNameFromOpCode(const ::tflite::OperatorCodeT &op_code);
    
    // Returns the builtin op code for the given MLIR operation on success; emits
    // error and returns std::nullopt on failure.
    std::optional<tflite::BuiltinOperator> GetBuiltinOpCode(Operation *mlir_op);
    
    // Packs the given MLIR operation into a TFLite FlatBuffer operator object.
    // Returns the FlatBuffer offset for the operator on success; emits error and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema.fbs

    // ones, but not by much. Moreover, while custom operators accept an opaque
    // object containing configuration parameters, builtins have a predetermined
    // set of acceptable options.
    // LINT.IfChange
    enum BuiltinOperator : int32 {
      ADD = 0,
      AVERAGE_POOL_2D = 1,
      CONCATENATION = 2,
      CONV_2D = 3,
      DEPTHWISE_CONV_2D = 4,
      DEPTH_TO_SPACE = 5,
      DEQUANTIZE = 6,
      EMBEDDING_LOOKUP = 7,
      FLOOR = 8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

    // ones, but not by much. Moreover, while custom operators accept an opaque
    // object containing configuration parameters, builtins have a predetermined
    // set of acceptable options.
    // LINT.IfChange
    enum BuiltinOperator : byte {
      ADD = 0,
      AVERAGE_POOL_2D = 1,
      CONCATENATION = 2,
      CONV_2D = 3,
      DEPTHWISE_CONV_2D = 4,
      DEPTH_TO_SPACE = 5,
      DEQUANTIZE = 6,
      EMBEDDING_LOOKUP = 7,
      FLOOR = 8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
Back to top