Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for OperatorCode (0.77 sec)

  1. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.cc

                 ? static_cast<int8_t>(builtin_code)
                 : static_cast<int8_t>(
                       BuiltinOperator_PLACEHOLDER_FOR_GREATER_OP_CODES);
    }
    
    // The following methods are the following `OperatorCode` table object creation
    // methods for backward compatibility.  These are manually copied from the
    // flatbuffer generated code from schema v3. They serve as overloads for the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h

    // three, which does not have an extended builtin code.
    flatbuffers::Offset<OperatorCode> CreateOperatorCode(
        flatbuffers::FlatBufferBuilder &_fbb,
        BuiltinOperator builtin_code = BuiltinOperator_ADD,
        flatbuffers::Offset<flatbuffers::String> custom_code = 0,
        int32_t version = 1);
    
    flatbuffers::Offset<OperatorCode> CreateOperatorCodeDirect(
        flatbuffers::FlatBufferBuilder &_fbb,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema_utils.h

    // problem. The new builtin operator will be assigned to the extended builtin
    // code field in the flatbuffer schema. Those methods helps to hide builtin code
    // details.
    BuiltinOperator GetBuiltinCode(const OperatorCode *op_code);
    
    BuiltinOperator GetBuiltinCode(const OperatorCodeT *op_code);
    
    }  // namespace tflite
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema_utils.cc

    // code. In the case, the maximum value of the two fields will be the value of
    // the `builtin_code` as the right value.
    
    BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) {
      // Caller should guarantee that the given argument value is not a nullptr.
      TFLITE_DCHECK(op_code != nullptr);
    
      return std::max(
          op_code->builtin_code(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

    }
    
    table SegmentSumOptions {
    }
    
    table BatchMatMulOptions {
      adjoint_lhs:bool;
      adjoint_rhs:bool;
    }
    
    // An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
    // builtin, or a string if the operator is custom.
    table OperatorCode {
      builtin_code:BuiltinOperator;
      custom_code:string;
    
      // The version of the operator. The version need to be bumped whenever new
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      shared_name:string;
    }
    
    table ReadVariableOptions {
    }
    
    table AssignVariableOptions {
    }
    
    // An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
    // builtin, or a string if the operator is custom.
    table OperatorCode {
      // This field is for backward compatibility. This field will be used when
      // the value of the extended builtin_code field has less than
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema.fbs

      MAXIMUM,
      ALL,
      ANY,
    }
    
    table ReduceWindowOptions (deprecated) {
      reduce_function: ReduceWindowFunction;
    }
    
    // An OperatorCode can be an enum value (BuiltinOperator) if the operator is a
    // builtin, or a string if the operator is custom.
    table OperatorCode {
      // This field is for backward compatibility. This field will be used when
      // the value of the extended builtin_code field has less than
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_generated.h

        fbb_.AddElement<int8_t>(OperatorCode::VT_DEPRECATED_BUILTIN_CODE, deprecated_builtin_code, 0);
      }
      void add_custom_code(::flatbuffers::Offset<::flatbuffers::String> custom_code) {
        fbb_.AddOffset(OperatorCode::VT_CUSTOM_CODE, custom_code);
      }
      void add_version(int32_t version) {
        fbb_.AddElement<int32_t>(OperatorCode::VT_VERSION, version, 1);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      absl::flat_hash_map<int, absl::flat_hash_map<std::string, int>>
          tensor_index_map_;
    
      // Maps op name to index of the corresponding OperatorCode in opcodes_ vector.
      absl::flat_hash_map<std::string, uint32_t> opcode_index_map_;
      std::vector<BufferOffset<tflite::OperatorCode>> opcodes_;
    
      // Maps function name to index of the corresponding subgraph in the FlatBuffer
      // model.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top