Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InitOpName (0.41 sec)

  1. tensorflow/compiler/mlir/op_or_arg_name_mapper.cc

      if (!name.empty()) return name;
      // Update the value in the map with unique name.
      name = StringRefToView(GetUniqueName(GetName(op_or_val)));
      return name;
    }
    
    int OpOrArgNameMapper::InitOpName(OpOrVal op_or_val, llvm::StringRef name) {
      auto it = name_to_count_.try_emplace(name, 0);
      auto inserted = op_or_val_to_name_.try_emplace(
          op_or_val, StringRefToView(it.first->first()));
      (void)inserted;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          fn.emitWarning() << "invalid entry function specification";
          return;
        }
        for (const auto& it : llvm::enumerate(fn.getArguments())) {
          name_mapper_.InitOpName(it.value(), input_names[it.index()].trim());
        }
        *has_input_attr = true;
      }
    
      if (auto str =
              mlir::dyn_cast_or_null<mlir::StringAttr>(dict_attr.get("outputs"))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
Back to top