- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for tensor_names (0.15 sec)
-
tensorflow/cc/tools/freeze_saved_model.cc
(*name_to_node_map)[node->name()] = node; } } // Strips off the tensor part of the tensor_name to get the node_name. const string GetNodeNameFromTensorName(string tensor_name) { if (tensor_name[0] == '^') { tensor_name.erase(0, 1); } std::vector<string> tensor_name_parts = str_util::Split(tensor_name, ':'); return tensor_name_parts[0]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 11.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/io_ops.cc
// // Callers must ensure all the named tensors are indeed stored in the // checkpoint. Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 17 17:54:34 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc
} // Creates a 1D string array constant for "tensor_names" input of `RestoreV2` // op. The `ConstOp` will be created at `builder`'s current insertion point. TF::ConstOp CreateTensorNamesConst(const ArrayRef<std::string> tensor_names, OpBuilder& builder) { const auto loc = NameLoc::get(builder.getStringAttr("tensor_names")); return Create1DStringConst(tensor_names, loc, builder); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 12 06:02:20 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
} // Creates a 1D string array constant for "tensor_names" input of `RestoreV2` // op. The `ConstOp` will be created at `builder`'s current insertion point. TF::ConstOp CreateTensorNamesConst(const ArrayRef<std::string> tensor_names, OpBuilder& builder) { const auto loc = NameLoc::get(builder.getStringAttr("tensor_names")); return Create1DStringConst(tensor_names, loc, builder); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/io_ops.h
namespace tensorflow { namespace ops { // Restores tensors from a V2 checkpoint. Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name = nullptr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 17 17:54:34 UTC 2022 - 1.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt
} } } op { name: "RestoreV2" input_arg { name: "prefix" type: DT_STRING } input_arg { name: "tensor_names" type: DT_STRING } input_arg { name: "shape_and_slices" type: DT_STRING } output_arg { name: "tensors"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 01:10:27 UTC 2017 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.cc.golden
} // Op: RestoreV2() // Summary: // // Description: Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name, const char* raw_device_name) { AbstractOperationPtr op_ptr(ctx->CreateOperation());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.h.golden
// Status RestoreV2(AbstractContext* ctx, AbstractTensorHandle* const prefix, AbstractTensorHandle* const tensor_names, AbstractTensorHandle* const shape_and_slices, absl::Span<AbstractTensorHandle*> tensors, absl::Span<DataType> dtypes, const char* name = nullptr, const char* raw_device_name = nullptr); } // namespace ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 16 19:04:03 UTC 2023 - 2.9K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
let arguments = (ins Arg<TF_StrTensor, [{Must have a single element. The prefix of a V2 checkpoint.}]>:$prefix, Arg<TF_StrTensor, [{shape {N}. The names of the tensors to be restored. This is tensor name in the model.}]>:$tensor_names, Arg<TF_StrTensor, [{shape {N}. The slice specs of the tensors to be restored. Empty strings indicate that they are non-partitioned tensors.}]>:$shape_and_slices, // VarHandles for restored tensors.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 6.8K bytes - Viewed (0)