- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for variable_nodes (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/force_shared_name_for_resource_ops.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-upgrade-legacy %s -tf-output-arrays=hash_table_node,variable_node,variable_v2_node -o - | FileCheck %s node: { name: "hash_table_node" op: "HashTableV2" attr: { key: "key_dtype" value: { type: DT_INT32 } } attr: { key: "shared_name" value: { s: "" } } attr: { key: "value_dtype" value: { type: DT_FLOAT }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 31 02:37:48 UTC 2021 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 10 19:53:21 UTC 2020 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tfrt_ops.mlir
// ----- // CHECK-LABEL: func @test_ifrt_call func.func @test_ifrt_call(%arg0: tensor<?xf32>, %arg1: tensor<?xf32>) { %result = "tf.IfrtCall"(%arg0, %arg1) <{program_id = 1234 : i64, variable_arg_indices = [0 : i32, 1 : i32], variable_names = ["a", "b"]}> : (tensor<?xf32>, tensor<?xf32>) -> (tensor<1x1xf32>) func.return } // ----- func.func @test_ifrt_call_fail_unsorted_variable_arg_indices(%arg0: tensor<?xf32>, %arg1: tensor<?xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 06:13:11 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc
"Null Session provided."); std::vector<tensorflow::Tensor> resource_tensors; auto variable_names = GetVariableNames(var_handle_ops); if (variable_names.empty()) return resource_tensors; auto status = session->Run({}, variable_names, {}, &resource_tensors); if (!status.ok()) return absl::Status(absl::StatusCode::kInternal, status.message()); return resource_tensors; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
return failure(); } // Fetch all VarHandleOp. llvm::StringSet<> variable_names; llvm::SmallVector<TF::VarHandleOp, 4> var_ops; for (auto func_op : module.getOps<func::FuncOp>()) { for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) { auto variable_name = GetVariableName(var_handle_op); if (variable_names.count(variable_name)) continue; var_ops.emplace_back(var_handle_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
// Read all resource variables from the session. std::vector<std::string> variable_names; variable_names.reserve(resource_names.size()); for (StringRef name : resource_names) variable_names.push_back(name.str()); std::vector<Tensor> resource_tensors; Status status = session->Run( /*inputs=*/{}, variable_names, /*target_tensor_names=*/{}, &resource_tensors); if (!status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0)