Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OpMetadata (0.12 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/runtime_metadata.fbs

    //       op_costs: [40, -1],
    //    ]
    //  }
    // }
    table HardwareMetadata {
      // List of different hardwares this model can use.
      hardware_name:[string];
    }
    
    // Metadata for a single Op.
    table OpMetadata {
      // Node index in the corresponding subgraph.
      index:int;
      // The hardware suggested for inference.
      // This will correspond to the index in the hardware_name field in the
      // hardware metadata.
      hardware:uint8;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

             ++j) {
          auto result_op_metadata =
              result_subgraph_metadata->op_metadata()->GetAs<OpMetadata>(j);
          auto expected_op_metadata =
              expected_subgraph_metadata->op_metadata()->GetAs<OpMetadata>(j);
          EXPECT_EQ(result_op_metadata->index(), expected_op_metadata->index());
          EXPECT_EQ(result_op_metadata->hardware(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

        const std::map<std::string, uint8_t>& hardware_map, mlir::Region* Region,
        flatbuffers::FlatBufferBuilder* builder) {
      auto& block = Region->front();
      int index = 0;
      std::vector<flatbuffers::Offset<tflite::OpMetadata>> ops;
      for (auto& inst : block) {
        // Const nodes are mapped to const vectors in flatbuffer, so skip.
        if (IsConst(&inst)) continue;
    
        // The model may contain quant stats op which is unrelevant to the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top