- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for _handle_dtypes (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args-handle-info.mlir
tf_executor.fetch %outputs : tensor<8x1xf32> } func.return %0 : tensor<8x1xf32> } // Check that we generate _handle_dtypes and _handle_shapes for the resource // argument. // CHECK: op: "_Arg" // CHECK: key: "_handle_dtypes" // CHECK-NEXT: value { // CHECK-NEXT: list { // CHECK-NEXT: type: DT_FLOAT // CHECK-NEXT: } // CHECK-NEXT: } // CHECK-NEXT: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 12:28:56 UTC 2022 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/keras_imagenet_main.pbtxt
op: "_Arg" device: "/job:localhost/replica:0/task:0/device:GPU:0" attr { key: "T" value { type: DT_RESOURCE } } attr { key: "_handle_dtypes" value { list { type: DT_FLOAT } } } attr { key: "_handle_shapes" value { list { shape { dim { size: 1001
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 02:52:54 UTC 2019 - 1.3M bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-control-ret.pbtxt
key: "index" value { i: 0 } } } node { name: "arg1" op: "_Arg" attr { key: "T" value { type: DT_RESOURCE } } attr { key: "_handle_dtypes" value { list { type: DT_FLOAT } } } attr { key: "_handle_shapes" value { list { shape { } } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 29 04:41:05 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt
key: "index" value { i: 0 } } } node { name: "args_1" op: "_Arg" attr { key: "T" value { type: DT_RESOURCE } } attr { key: "_handle_dtypes" value { list { type: DT_FLOAT } } } attr { key: "_handle_shapes" value { list { shape { dim { size: 3
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 24 00:18:34 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
SetTensorShapeProto(subtype, handle_shapes_attr.mutable_list()->add_shape()); } (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr; (*node_def->mutable_attr())["_handle_shapes"] = handle_shapes_attr; } } TF_RETURN_IF_ERROR( SetShapeAttribute("_output_shapes", arg_type, node_def->mutable_attr()));
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
SetTensorShapeProto(subtype, handle_shapes_attr.mutable_list()->add_shape()); } (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr; (*node_def->mutable_attr())["_handle_shapes"] = handle_shapes_attr; } } TF_RETURN_IF_ERROR( SetShapeAttribute("_output_shapes", arg_type, node_def->mutable_attr()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
if (dtype == DT_RESOURCE) { const AttrValue* dtype_attr = node.attrs().Find("_handle_dtypes"); const AttrValue* shape_attr = node.attrs().Find("_handle_shapes"); if (dtype_attr && shape_attr) { if (dtype_attr->list().type().empty()) { return errors::InvalidArgument( "Invalid \"_handle_dtypes\" 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/lite/transforms/lower_static_tensor_list.cc
} Type GetTensorTypeForTensorList(Type element_type, TF::VariantType handle_dtype, PatternRewriter *rewriter) { // If the variant type in the output handle has item shape available, use it // to derive the output shape by setting unknown leading dimension. // Otherwise, result type will be of unranked type. if (handle_dtype.getSubtypes().empty()) { return UnrankedTensorType::get(element_type); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
let extraClassDeclaration = [{ // Returns type of the TensorList element produced by this op. TensorType element_type() { return handle_dtype().getSubtypes()[0]; } // Returns data type of the result handle. Returned type contains type of // the TensorList element as a subtype. VariantType handle_dtype() { return getElementTypeOrSelf(getHandle().getType()).cast<TF::VariantType>(); } }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// This is required to populate derived attributes during export in a // meaningful way. Else during export to GraphDef element_type() query // will result in out of bounds access/assert. if (handle_dtype().getSubtypes().size() != 1) { return emitOpError( "must have exactly one subtype in the result variant type"); } if (!IsOfRankOrUnranked(op.getElementShape(), 0) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)