- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 64 for node_def (0.73 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
std::string FindFilePrefixTensorName(const GraphDef& graph_def) { for (const NodeDef& node_def : graph_def.node()) { if (node_def.op() == FunctionLibraryDefinition::kArgOp) { // Matches the `tf_saved_model.index_path = ["__tf_file_prefix"]`. const auto index_path_attr_itr = node_def.attr().find(kTfSavedModelIndexPathAttr.str()); if (index_path_attr_itr != node_def.attr().end()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
f = @batch_function, node_def = "..." } : (!tf_mlrt.tensor,!tf_mlrt.tensor) -> (!tf_mlrt.tensor) Note that the trailing number indicates the number of results. }]; let arguments = (ins Variadic<TFTensorType>:$args, StrAttr:$device, SymbolRefAttr:$f, StrAttr:$node_def ); let results = (outs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
node_def.set_name(op->Name()); node_def.set_op(op->Name()); for (int i = 0; i < num_inputs; ++i) { node_def.add_input("dummy_input"); } OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr()); const tensorflow::OpRegistrationData* op_reg_data; status->status = tensorflow::OpRegistry::Global()->LookUp(node_def.op(), &op_reg_data);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.h
std::vector<int>* resource_arg_indices); // Given a NodeDef `node_def` returns true iff `node_def` has kXlaCompileAttr // set. bool CanCreateXlaKernel(const NodeDef& node_def); // Returns memory types for the input. // `constant_arg_indices` and `resource_arg_indices` are sorted arrays of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 14.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
NodeDef* node_def) { const NameAttrList* name_attr; TF_RETURN_IF_ERROR(GetNodeAttr(node.attrs(), attr_name, &name_attr)); node_def->set_op(name_attr->name()); *(node_def->mutable_attr()) = name_attr->attr(); return absl::OkStatus(); } absl::StatusOr<std::vector<NodeDef>> MakeCallNodesFromAttribute( const Node& node, absl::string_view attr_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model.cc
(*variable_name_to_value_map)[variable_names[i]] = outputs[i]; } return OkStatus(); } // Converts a Variable NodeDef into a Constant NodeDef. void ConvertVariableToConstant(const NodeDef& variable_node, const Tensor& variable_value, NodeDef* const_node) { const_node->set_name(variable_node.name()); const_node->set_op("Const");
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/compiler/jit/xla_launch_util_test.cc
.Input(FakeInput(DT_INT32)) .Attr("T", DT_INT32) .Device("/job:localhost/replica:0/task:0/device:XLA_CPU:0") .Finalize(node_def())); TF_EXPECT_OK(InitOp()); // Add inputs. Tensor* a = CreateDeviceTensor<int32>(TensorShape({1, 3}), {1, 2, 3}); Tensor* b = CreateDeviceTensor<int32>(TensorShape({1, 3}), {4, 5, 6});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util_test.cc
/*attr_def=*/{}, /*node_def=*/{{{"t0"}, "Identity", {"x"}, {{"T", DT_FLOAT}}}}, /*ret_def*/ {{"res", "t0:output"}}); (*identity_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute; FunctionDef call_identity = FunctionDefHelper::Create( "CallIdentity", /*in_def=*/{"x:float"}, /*out_def=*/{"z:float"}, /*attr_def=*/{}, /*node_def=*/ {{{"func_call"},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 10 12:32:39 UTC 2022 - 22.3K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
FunctionDefLibrary fdef_lib; FunctionDef func = FunctionDefHelper::Create( /*function_name=*/name, /*in_def=*/{}, /*out_def=*/{"out: float"}, /*attr_def*/ {}, /*node_def=*/{FunctionDefHelper::Const("one", 1.0f)}, /*ret_def=*/{{"out", "out:output:0"}}); *fdef_lib.add_function() = std::move(func); return fdef_lib; } TEST_F(BuildXlaOpsTest, ControlDepsPreserved) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0)