- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for _Arg (0.51 sec)
-
tensorflow/compiler/jit/shape_inference.h
// TODO(phawkins): this code does not infer accurate shapes for cyclic graphs. // `arg_shapes`: user given map from the `index` to shapes of this // node, where `index` is the `index` attribute of `_Arg` op or `_index` // attribute of `Placeholder` op. Status InferShapes(Graph* graph, const std::map<int, InferredShape>& arg_shapes, const tensorflow::FunctionLibraryDefinition* fnlib_def,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc
graph.SetConstructionContext(ConstructionContext::kEagerRuntime); tensorflow::set_tf2_execution(true); ConfigProto config = ConfigProto(); Scope root = Scope::NewRootScope().ExitOnError(); Output a = ops::_Arg(root.WithOpName("A"), DT_RESOURCE, 0); std::vector<NodeBuilder::NodeOut> inputs({NodeBuilder::NodeOut(a.node())}); Node* call; NameAttrList f_name_attr; f_name_attr.set_name(fd.signature().name()); TF_ASSERT_OK(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 19:51:50 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
<< context->DebugString(handle); } } int index = -1; if (n->type_string() == "_Arg") { // NOTE: during runtime, Placeholder ops will be replaced as `_Arg` ops. // And Args must have `index` attribute. TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index)); } else if (n->type_string() == "Placeholder") {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
bool HasPsWithResourceVariable(const Graph& graph) { // Check parameter serverjobs and resource variable arguments that are // on parameter servers. const std::string jobType = "ps"; const std::string nodeType = "_Arg"; const std::string attrKey = "T"; for (const Node* node : graph.nodes()) { if (node->type_string() == nodeType) { auto device_name = node->assigned_device_name(); DeviceNameUtils::ParsedName device;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
static const char kImportModelDefaultGraphFuncName[] = "main"; // Please refer to the TFG dialect description for the list of used attributes. // Belows are the attributes in TFE. // TFE Arguments and Results (Got from "_Arg", // "_Retval", .etc) // NodeDef.device <-> "tf.device" // NodeDef.attr <-> "tf." // // TFE general operations // NodeDef.device <-> "device" //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
return errors::InvalidArgument( "Invalid \"_handle_dtypes\" attribute value for _Arg node: ", shape_attr->DebugString()); } if (shape_attr->list().shape().empty()) { return errors::InvalidArgument( "Invalid \"_handle_shapes\" attribute value for _Arg node: ", shape_attr->DebugString()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
TF_RET_CHECK(tensor_id.index() == 0) << "input port designation not supported"; // Only assign user of argument the input name if the main graph did not // have its _Arg nodes lifted into the functions arguments. // Ensure name does not get reused. (void)exporter.op_to_name_.GetUniqueName(name); } } // Adds nodes for basic block (function) arguments.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
TF_RET_CHECK(tensor_id.index() == 0) << "input port designation not supported"; // Only assign user of argument the input name if the main graph did not // have its _Arg nodes lifted into the functions arguments. // Ensure name does not get reused. (void)exporter.op_to_name_.GetUniqueName(name); } } // Adds nodes for basic block (function) arguments.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0)