- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for tensor_b (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
}]; let arguments = (ins Arg<TF_Int32Tensor, [{int32 `Tensor`.}]>:$arr, Arg<TF_Int32Tensor, [{non-negative int32 scalar `Tensor`.}]>:$size, Arg<TensorOf<[TF_Float32, TF_Float64, TF_Int32, TF_Int64]>, [{is an int32, int64, float32, or float64 `Tensor` with the same shape as `arr`, or a length-0 `Tensor`, in which case it acts as all weights equal to 1.}]>:$weights );
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/tensorflow/transforms/lower_tf.td
(TF_SubOp $max_range, $min_range), (TF_ConstOp (GetF32Scalar<255>)))), $min_range), /*truncate=*/ConstBoolAttrFalse), [(TensorOf<[TF_Qint8, TF_Quint8]> $input), (TF_Float32Tensor $min_range), (TF_Float32Tensor $max_range), (TensorOf<[TF_Float32, TF_Bfloat16]> $result)]>; //===----------------------------------------------------------------------===// // Difference op patterns.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
Type qtype = attr.getValue(); auto tensor_or = BuildTensorFromType( qtype, name_mapper_.GetUniqueName(intermediate).str()); if (!tensor_or.has_value()) { continue; } else { intermediates.push_back(tensors.size()); tensors.push_back(tensor_or.value()); } } } }
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/quantization/tensorflow/python/py_function_lib.py
) from ex def _convert_values_to_tf_tensors( sample: rd.RepresentativeSample, ) -> Mapping[str, core.Tensor]: """Converts TensorLike values of `sample` to Tensors. Creates a copy of `sample`, where each value is converted to Tensors unless it is already a Tensor. The values are not converted in-place (i.e. `sample` is not mutated). Args:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
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/tensorflow/ir/host_runtime/tfrt_ops.td
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 is composed from `container_name` and `shared_name` from a `var_handle` and can be
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/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
func.func @uniform_dequantize_op(%arg: tensor<2x2x!quant.uniform<i8:f32, 1.000000e+0:8>>) -> tensor<2x2xf32> { %0 = stablehlo.uniform_dequantize %arg : (tensor<2x2x!quant.uniform<i8:f32, 1.000000e+0:8>>) -> tensor<2x2xf32> return %0 : tensor<2x2xf32> } // CHECK-LABEL: uniform_dequantize_op // CHECK: %[[DEQUANT:.+]] = "tfl.dequantize"({{.*}}) : (tensor<2x2x!quant.uniform<i8:f32, 1.000000e+00:8>>) -> tensor<2x2xf32> // CHECK: return %[[DEQUANT]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td
$quant_input, $bias, $padding, $stride_h, $stride_w, $faf), (TFL_TransposeConvOp $output_shape, $quant_weights, $quant_input, $bias, $padding, $stride_h, $stride_w, $faf),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:10:13 UTC 2024 - 2.3K 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/jit/xla_tpu_device.cc
} return tpu_shape.AsCpp<xla::Shape>(); } // Given a tensor, returns the shape of its representation on device, // fully padded. Contents of `shape` are undefined on error. Status TpuPaddedShapeFn(const Tensor& tensor, xla::Shape* shape) { const tensorflow::XlaTensor* xla_tensor = tensorflow::XlaTensor::FromTensor(&tensor); if (xla_tensor == nullptr) { return errors::InvalidArgument(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0)