- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for tftensor (0.18 sec)
-
tensorflow/c/c_api.cc
// ResourceHandle during Session run where the TF_Tensor is converted to a // Tensor. // TFv2 does not depend on this conversion. There is no matching // TF_TensorFromTensorV1 because the conversion to string is performed by the // python side of Session. static Status TF_TensorToTensorV1(const TF_Tensor* src, Tensor* dst) { Status status = TF_TensorToTensor(src, dst); if (!status.ok()) { return status; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir
%5:2 = "tf.C"(%4) : (tensor<2xi32>) -> (tensor<2xi32>, tensor<2xi32>) tf_device.return %5#0, %5#1 : tensor<2xi32>, tensor<2xi32> }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> (tensor<2xi32>, tensor<2xi32>) tf_device.return %2#1 : tensor<2xi32> } func.return %1 : tensor<2xi32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 129.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir
// CHECK: %[[ADD:.*]] = "tf.Add"(%[[MUL]], %[[MUL]]) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32> // CHECK: return %[[ADD]] : tensor<1xf32> %0 = "tf.Mul"(%arg0, %arg0) : (tensor<1xf32>, tensor<1xf32>) -> tensor<*xf32> %1 = "tf.Add"(%0, %0) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32> func.return %1 : tensor<*xf32> } // CHECK-LABEL: func @simple_chain_with_broadcast
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 17:24:10 UTC 2024 - 167.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
} // CHECK-LABEL: testAddN func.func @testAddN(tensor<? x f32>, tensor<? x f32>, tensor<? x f32>) -> tensor<? x f32> { ^bb0(%arg0: tensor<? x f32>, %arg1: tensor<? x f32>, %arg2: tensor<? x f32>): // CHECK: "tfl.add_n"(%arg0, %arg1, %arg2) %0 = "tfl.add_n"(%arg0, %arg1, %arg2): (tensor<? x f32>, tensor<? x f32>, tensor<? x f32>) -> tensor<? x f32> func.return %0 : tensor<? x f32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
func.func @testBroadcastGradientArgs(%s0: tensor<4xi32>, %s1: tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>) { %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) : (tensor<4xi32>, tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>) func.return %r0, %r1 : tensor<1xi32>, tensor<0xi32> } // ----- func.func @testBroadcastGradientArgsIncompatibleInputType(%s0: tensor<4xi32>, %s1: tensor<4xi64>) -> (tensor<1xi32>, tensor<0xi32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 132.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
} return %graph#0, %graph#1, %graph#2, %graph#3 : !tf_res, !tf_res, tensor<f32>, tensor<f32> } ``` After: ```mlir func @while_body(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>, %arg3: tensor<f32>, %chain_0: tensor<i32>, %chain_1: tensor<i32>) -> (!tf_res, !tf_res, tensor<f32>, tensor<f32>, tensor<i32>, tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir
: (tensor<i1>, tensor<*x!tf_type.resource<tensor<32xf32>>>, tensor<*x!tf_type.resource<tensor<32xf32>>>) -> (tensor<*x!tf_type.resource<tensor<32xf32>>>, tensor<*x!tf_type.resource<tensor<32xf32>>>, tensor<*x!tf_type.resource<tensor<32xf32>>>) %r0 = "tf.ReadVariableOp"(%if#0) : // expected-remark@above {{ID: 2}} // expected-remark@above {{Predecessors: {1}}}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 129.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
let description = [{ Reverses specific dimensions of a tensor. Given a tensor, and a int32/int64 tensor axis representing the set of dimensions of tensor to reverse. This operation reverses each dimension i for which there exists j s.t. axis[j] == i. Args: tensor: A Tensor. Must be one of the following types:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
*begin != 0 || *end != 1 || *strides != 1) return {}; // First tensor dimension is dynamic. auto arg_ty = tensor.getType().dyn_cast<ShapedType>(); if (!arg_ty || !arg_ty.hasRank() || arg_ty.getNumDynamicDims() != 1 || !arg_ty.isDynamicDim(0)) return {}; // Argument tensor rank is equal to the number of packed dimensions. if (arg_ty.getRank() != getValues().size()) return {};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)