Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for operator_codes (0.2 sec)

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

          for (size_t i = 0; i < op->outputs()->size(); ++i) {
            if (op->outputs()->Get(i) == tensor_idx) {
              const uint32_t op_code_idx = op->opcode_index();
              *op_code = GetBuiltinCode(model->operator_codes()->Get(op_code_idx));
              return true;
            }
          }
        }
        return false;
      }
    };
    
    // Returns true if everything between the two graphs
    // are identical except for name field.
    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

    // An operator takes tensors as inputs and outputs. The type of operation being
    // performed is determined by an index into the list of valid OperatorCodes,
    // while the specifics of each operations is configured using builtin_options
    // or custom_options.
    table Operator {
      // Index into the operator_codes array. Using an integer here avoids
      // complicate map lookups.
      opcode_index:uint;
    
      // Optional input are indicated by -1.
    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/schema/schema.fbs

    // An operator takes tensors as inputs and outputs. The type of operation being
    // performed is determined by an index into the list of valid OperatorCodes,
    // while the specifics of each operations is configured using builtin_options
    // or custom_options.
    table Operator {
      // Index into the operator_codes array. Using an integer here avoids
      // complicate map lookups.
      opcode_index:uint;
    
      // Optional input are indicated by -1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

    # MLIR:         return %[[reshape]] : tensor<1x6x31x!quant.uniform<i8:f32, 0.09363494573854933:22>>
    # MLIR:       }
    
    # CHECK-LABEL: {
    # CHECK:   version: 3,
    # CHECK:   operator_codes: [ {
    # CHECK:     deprecated_builtin_code: 3,
    # CHECK:     version: 3,
    # CHECK:     builtin_code: CONV_2D
    # CHECK:   }, {
    # CHECK:     deprecated_builtin_code: 22,
    # CHECK:     version: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

    # MLIR:         return %[[reshape]] : tensor<1x6x31x!quant.uniform<i8:f32, 0.09363494573854933:22>>
    # MLIR:       }
    
    # CHECK-LABEL: {
    # CHECK:   version: 3,
    # CHECK:   operator_codes: [ {
    # CHECK:     deprecated_builtin_code: 3,
    # CHECK:     version: 3,
    # CHECK:     builtin_code: CONV_2D
    # CHECK:   }, {
    # CHECK:     deprecated_builtin_code: 22,
    # CHECK:     version: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        return attr;
      }
    };
    
    // Returns true if the op_code belongs to a stablehlo operation.
    bool IsStablehloOp(const tflite::OperatorCodeT &op_code);
    
    // Returns the MLIR op name for the flatbuffer operator corresponding to
    // `op_code`.
    std::string GetMlirOpNameFromOpCode(const ::tflite::OperatorCodeT &op_code);
    
    // Returns the builtin op code for the given MLIR operation on success; emits
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    }  // namespace
    
    bool mlir::IsStablehloOp(const tflite::OperatorCodeT& op_code) {
      llvm::StringRef op_name(
          tflite::EnumNameBuiltinOperator(tflite::GetBuiltinCode(&op_code)));
      return op_name.starts_with("STABLEHLO_");
    }
    
    std::string mlir::GetMlirOpNameFromOpCode(
        const tflite::OperatorCodeT& op_code) {
      auto builtin_code = tflite::GetBuiltinCode(&op_code);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top