Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tensor_names (0.54 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        const std::vector<std::string>& tensor_names) {
      absl::flat_hash_map<std::string, int> name_to_index;
      for (const auto& index_and_tensor : llvm::enumerate(subgraph.tensors)) {
        name_to_index[index_and_tensor.value()->name] = index_and_tensor.index();
      }
    
      std::vector<int> indices;
      indices.reserve(tensor_names.size());
    
      for (const auto& name : tensor_names) {
        auto found = name_to_index.find(name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top