- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for tftensor (0.17 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
return ParseTextProto(str, kTensorShapePrefix, proto); } string MangleTensor(const TensorProto& tensor) { return absl::StrCat(kTensorPrefix, PrintShortTextProto(tensor)); } Status DemangleTensor(absl::string_view str, TensorProto* proto) { return ParseTextProto(str, kTensorPrefix, proto); } string MangleDataType(const DataType& dtype) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/c/tf_tensor.h
// Return the type of a tensor element. TF_CAPI_EXPORT extern TF_DataType TF_TensorType(const TF_Tensor*); // Set a new shape for the Tensor. TF_CAPI_EXPORT extern void TF_SetShape(TF_Tensor* tensor, const int64_t* dims, int num_dims); // Return the number of dimensions that the tensor has. TF_CAPI_EXPORT extern int TF_NumDims(const TF_Tensor*);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 16:40:30 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
let summary = "Set a tensor in a promise"; let description = [{ Set a tensor in a promise. $promise: A value of type !mlrt.promise. The underlying value will always be a tensorflow tensor. $tensor: A tensorflow tensor. }]; let arguments = (ins MlrtPromiseType:$promise, TF_Tensor:$tensor ); } def TFMapFnOp : TensorflowMlrt_Op<"tf_map_fn", [AttrSizedOperandSegments, Pure]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir
// CHECK-SAME: [[arg0:%.*]]: !tfrt_fallback.tf_tensor, // CHECK-SAME: [[arg1:%.*]]: !tfrt_fallback.tf_tensor) // CHECK-SAME: -> (!tfrt.chain, !tfrt_fallback.tf_tensor) func.func @func_basic( %arg0: tensor<3x1xf32> {tf_saved_model.index_path = [0]}, %arg1: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.index_path = [1]}) -> (tensor<3x3xf32> {tf_saved_model.index_path = []})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
} def TF_IfrtLoadVariableOp : TF_Op<"IfrtLoadVariable", [Pure]> { let summary = "Loads a restored variable tensor as a tensor future"; let description = [{ This op loads a restored variable tensor as a tensor future. It is a replacement of `tf.ReadVariableOp`. This op returns a scalar string tensor containing the restored variable name, which
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.td
} // This corresponds to tensorflow::Tensor. def TFTensorType : DialectType<Fallback_Dialect, CPred<"$_self.isa<::tfrt::fallback::TFTensorType>()">, "!tfrt_fallback.tf_tensor type">, BuildableType<"$_builder.getType<::tfrt::fallback::TFTensorType>()"> { let description = [{ `!tfrt_fallback.tf_tensor type` represents a tensorflow::Tensor. }]; } // This corresponds to tensorflow::Allocator.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/whileop.mlir
func.func @while_cond_lt9(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<i1> { %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<9> : tensor<i32>} : () -> tensor<i32> %1 = "tf.Less"(%arg0, %0) {device = "/device:CPU:0"} : (tensor<i32>, tensor<i32>) -> tensor<i1> func.return %1 : tensor<i1> } func.func @while_body_add2(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/tf_to_corert_pipeline.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
*tensor = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); } // Return a scalar tensor handle with given value. template <class T, TF_DataType datatype> Status TestScalarTensorHandle(AbstractContext* ctx, const T value, AbstractTensorHandle** tensor) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir
func.func @gather(%indices: tensor<?xi32>, %resource: tensor<*x!tf_type.resource>) -> tensor<*xi32> { %0 = "tf.ResourceGather"(%resource, %indices) {batch_dims = 0 : i64, device = "/device:CPU:0", validate_indices = true}: (tensor<*x!tf_type.resource>, tensor<?xi32>) -> (tensor<*xi32>) func.return %0 : tensor<*xi32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 00:40:32 UTC 2024 - 1.2K bytes - Viewed (0)