- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ClipByValue (0.12 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir
%i8_min = "tf.Const"() {value = dense<-128.0> : tensor<f32>} : () -> tensor<f32> %i8_max = "tf.Const"() {value = dense<127.0> : tensor<f32>} : () -> tensor<f32> %clip = "tf.ClipByValue"(%round, %i8_min, %i8_max) : (tensor<*xf32>, tensor<f32>, tensor<f32>) -> tensor<*xf32> %i8 = "tf.Cast"(%clip) : (tensor<*xf32>) -> tensor<*xi8> func.return %i8 : tensor<*xi8> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 15:43:38 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
"$_builder.create<TF::SelectOp>(" "$0.getLoc(), $3.getType(), $1, $2, $3)">; def ConstAttrIfThenElse: NativeCodeCall< "($0).getValue() ? ($1) : ($2)">; // Convert clamp(lo, x, hi) to clipbyvalue(x, lo, hi). def Clamp: NativeCodeCall< "$_builder.create<TF::ClipByValueOp>(" " $0.getLoc()," " $2.getType(), $2, $1, $3)">; def CopyXlaOutsideCompilationAttr: NativeCodeCallVoid<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
namespace tensorflow { namespace { using ops::Abs; using ops::Add; using ops::AddN; using ops::AddV2; using ops::Atan2; using ops::BatchMatMul; using ops::BatchMatMulV3; using ops::Cast; using ops::ClipByValue; using ops::Const; using ops::Cumsum; using ops::Div; using ops::DivNoNan; using ops::MatMul; using ops::Max; using ops::Maximum; using ops::Mean; using ops::Min; using ops::Minimum; using ops::Mul;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/testdata/outside_compilation.mlir
%outputs_75, %control_76 = tf_executor.island wraps "tf.Mul"(%arg0, %outputs_41) {device = "/device:CPU:0"} : (tensor<3x32x32x3xf32>, tensor<f32>) -> tensor<*xf32> %outputs_77, %control_78 = tf_executor.island wraps "tf.ClipByValue"(%outputs_75, %outputs_37, %outputs_39) {device = "/device:CPU:0"} : (tensor<*xf32>, tensor<f32>, tensor<f32>) -> tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 19 20:19:45 UTC 2023 - 21.9K bytes - Viewed (0)