Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for opcode_index (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/math.mlir

      // CHECK-NEXT:     }, {
      // CHECK-NEXT:       opcode_index: 1,
      // CHECK-NEXT:       inputs: [ 0, 2 ],
      // CHECK-NEXT:       outputs: [ 3 ],
      // CHECK-NEXT:       builtin_options_type: MulOptions,
      // CHECK-NEXT:       builtin_options: {
      // CHECK-EMPTY:
      // CHECK-NEXT:       }
      // CHECK-NEXT:     }, {
      // CHECK-NEXT:       opcode_index: 2,
      // CHECK-NEXT:       inputs: [ 3, 2 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      for (auto msubgraph : *mutable_subgraphs) {
        auto operators = msubgraph->mutable_operators();
        for (auto op : *operators) {
          auto opcode_idx = op->opcode_index();
          auto opcodes = mutable_model->operator_codes();
          auto opcode = (*opcodes)[opcode_idx]->builtin_code();
          if (opcode == tflite::BuiltinOperator_CUSTOM) {
            std::vector<int32_t> inputs(op->inputs()->begin(), op->inputs()->end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/custom_op_with_tflite_op.mlir

    // CHECK-NEXT:      outputs: [ 2 ],
    // CHECK-NEXT:      builtin_options_type: MulOptions,
    // CHECK-NEXT:      builtin_options: {
    // CHECK-EMPTY:
    // CHECK-NEXT:      }
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      opcode_index: 1,
    // CHECK-NEXT:      inputs: [ 2, 1 ],
    // CHECK-NEXT:      outputs: [ 3 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(GetBuiltinCode(model_.operator_codes[op1->opcode_index].get()),
                  Eq(BuiltinOperator_QUANTIZE));
      ASSERT_THAT(GetBuiltinCode(model_.operator_codes[op2->opcode_index].get()),
                  Eq(BuiltinOperator_QUANTIZE));
      ASSERT_THAT(GetBuiltinCode(model_.operator_codes[op3->opcode_index].get()),
                  Eq(BuiltinOperator_PACK));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/if_op.mlir

    // CHECK-NEXT:     outputs: [ 3 ],
    // CHECK-NEXT:     operators: [ {
    // CHECK-NEXT:       inputs: [ 0, 1 ],
    // CHECK-NEXT:       outputs: [ 2 ]
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       opcode_index: 1,
    // CHECK-NEXT:       inputs: [ 2, 0, 1 ],
    // CHECK-NEXT:       outputs: [ 3 ],
    // CHECK-NEXT:       builtin_options_type: IfOptions,
    // CHECK-NEXT:       builtin_options: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/quantization.mlir

    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      opcode_index: 1,
    // CHECK-NEXT:      inputs: [ 2, 3, 4 ],
    // CHECK-NEXT:      outputs: [ 5 ],
    // CHECK-NEXT:      builtin_options_type: Conv2DOptions,
    // CHECK-NEXT:      builtin_options: {
    // CHECK-NEXT:        stride_w: 2,
    // CHECK-NEXT:        stride_h: 2
    // CHECK-NEXT:      }
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      opcode_index: 2,
    // CHECK-NEXT:      inputs: [ 5, 1 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/while_op.mlir

    // CHECK-NEXT:     operators: [ {
    // CHECK-NEXT:       opcode_index: 2,
    // CHECK-NEXT:       inputs: [ 0, 2 ],
    // CHECK-NEXT:       outputs: [ 3 ],
    // CHECK-NEXT:       builtin_options_type: SubOptions,
    // CHECK-NEXT:       builtin_options: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       }
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       opcode_index: 3,
    // CHECK-NEXT:       inputs: [ 1, 1 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

          const auto op = subgraph->operators()->Get(op_idx);
          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;
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_tflite_op.mlir

    // CHECK-NEXT:      }
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      opcode_index: 1,
    // CHECK-NEXT:      inputs: [ 2, 1 ],
    // CHECK-NEXT:      outputs: [ 3 ],
    // CHECK-NEXT:      custom_options: [ 3, 68, 105, 118, 0, 20, 18, 3, 68, 105, 118, 26, 0, 26, 0, 42, 7, 10, 1, 84, 18, 2, 48, 1, 50, 0, 0, 2, 27, 23, 20, 20, 4, 40, 1 ]
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      opcode_index: 2,
    // CHECK-NEXT:      inputs: [ 3 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir

    // CHECK-NEXT:     operators: [ {
    // CHECK-NEXT:       opcode_index: 2,
    // CHECK-NEXT:       inputs: [ 0, 2 ],
    // CHECK-NEXT:       outputs: [ 3 ],
    // CHECK-NEXT:       builtin_options_type: SubOptions,
    // CHECK-NEXT:       builtin_options: {
    // CHECK-EMPTY:
    // CHECK-NEXT:       }
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       opcode_index: 3,
    // CHECK-NEXT:       inputs: [ 1, 1 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top