- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for TensorT (0.17 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
// There should be 3 tensors: input, output, and BroadcastTo/shape. EXPECT_THAT(subgraph->tensors, SizeIs(3)); // Input Tensor EXPECT_THAT(subgraph->tensors[0]->type, Eq(tensor_type_)); EXPECT_THAT(subgraph->tensors[0]->name, Eq("input_1")); EXPECT_THAT(subgraph->tensors[0]->quantization->scale, SizeIs(1)); EXPECT_THAT(subgraph->tensors[0]->quantization->zero_point, SizeIs(1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
// as tensor names may have changed via MLIR constant folding process. bool ExpectEqualTensor(const Tensor* tensor, const Tensor* expected_tensor) { return (tensor->is_variable() == expected_tensor->is_variable()) && (GetAsVector(tensor->shape()) == GetAsVector(expected_tensor->shape())); } // Finds the match of the quantized tensor from the possible tensors. Each
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
SparseTensor is not supported. The return value of the decorated function must be a Tensor or a list/tuple of Tensors. }]; let arguments = (ins Arg<Variadic<TF_Tensor>, [{The tensors to be batched.}]>:$in_tensors, Arg<Variadic<TF_Tensor>, [{The tensors which are captured in the function, and don't need to be batched.}]>:$captured_tensors, SymbolRefAttr:$f, I64Attr:$num_batch_threads,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
SameOperandsAndResultsScale]> { let summary = "Packs a list of tensors along a dimension into one tensor"; let description = [{ Packs a list of `values_count` rank-`R` tensors into one rank-`(R+1)` tensor. Packs the `values_count` tensors in `values` into a tensor with rank one higher than each tensor in `values`, by packing them along the `axis` dimension.
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/lite/transforms/lower_static_tensor_list.cc
} // Extract individual tensor list element and combine them using the tf.Pack // op. Location loc = op.getLoc(); llvm::SmallVector<Value, 4> values; values.reserve(tensors.size()); for (const tensorflow::Tensor &tensor : tensors) { auto attr_or = tensorflow::ConvertTensor(tensor, &rewriter); if (!attr_or.ok()) return failure();
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/tfrt/tests/ifrt/sink_variable_as_named_array.mlir
// CHECK-NEXT: return [[RES]], [[MATRES]] : tensor<1x1xf32>, tensor<1x1xf32> // module { func.func @serving_default(%arg0: tensor<1x3xf32>) -> (tensor<1x1xf32>, tensor<1x1xf32>) { %0 = "tf.VarHandleOp"() <{container = "", shared_name = "y"}> : () -> tensor<!tf_type.resource<tensor<3x1xf32>>> %2 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<3x1xf32>>>) -> tensor<3x1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 15:33:17 UTC 2024 - 5.3K 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/lite/flatbuffer_export.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir
return } func.func private @false(%arg0: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> { return %arg0 : tensor<!tf_type.variant<tensor<f32>>> } func.func private @true(%arg0: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> { return %arg0 : tensor<!tf_type.variant<tensor<f32>>> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 4.5K 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)