- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,248 for ucast (0.04 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc
rewriter.replaceOpWithNewOp<mlir::stablehlo::ConstantOp>( op, qtype, quantized_attr); return success(); } } return failure(); } }; // Replaces quantfork.dcast with stablehlo.uniform_dequantize. class ConvertDequantizeCastToUniformDequantizePattern : public OpRewritePattern<quantfork::DequantizeCastOp> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
ConstantOp new_const = rewriter.create<ConstantOp>( op->getLoc(), new_result_type, new_value_attr); ConvertOp dcast = rewriter.create<ConvertOp>(op->getLoc(), old_result_type, new_const); // replace all convert ops with dq op. convert_op->replaceAllUsesWith(dcast); // Return without scanning for the next ConvertOp as only one ConvertOp is // connected to all quantizable ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/int.go
func (s1 Int) SymmetricDifference(s2 Int) Int { return Int(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int) Union(s2 Int) Int { return Int(cast(s1).Union(cast(s2))) } // Intersection returns a new set which includes the item in BOTH s1 and s2
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/int32.go
func (s1 Int32) SymmetricDifference(s2 Int32) Int32 { return Int32(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int32) Union(s2 Int32) Int32 { return Int32(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir
// CHECK-DAG: %[[INPUT_QINT:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<1x2x2x1xi32>) -> tensor<1x2x2x1x!tf_type.qint32> %q_input = "tf.Cast"(%arg0) {Truncate = false} : (tensor<1x2x2x1xi32>) -> tensor<1x2x2x1x!tf_type.qint32> // CHECK-DAG: %[[MIN_QINT:.*]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<i32>) -> tensor<!tf_type.qint32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 25.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/byte.go
func (s1 Byte) SymmetricDifference(s2 Byte) Byte { return Byte(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Byte) Union(s2 Byte) Byte { return Byte(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go
func (s1 Int64) SymmetricDifference(s2 Int64) Int64 { return Int64(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int64) Union(s2 Int64) Int64 { return Int64(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/string.go
func (s1 String) SymmetricDifference(s2 String) String { return String(cast(s1).SymmetricDifference(cast(s2))) } // Union returns a new set which includes items in either s1 or s2. // For example: // s1 = {a1, a2} // s2 = {a3, a4} // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 String) Union(s2 String) String { return String(cast(s1).Union(cast(s2))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/validators.cc
return false; if (mlir::cast<IntegerAttr>(elements.front()).getInt() != 1 || mlir::cast<IntegerAttr>(elements.back()).getInt() != 1) return false; Builder b(op->getContext()); *x = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[1]).getInt()); *y = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[2]).getInt()); *z = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[3]).getInt());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/cast_bf16_ops_to_f32.mlir
// CHECK: %[[cast:.*]] = "tf.Cast"(%[[cst]]) <{Truncate = false}> : (tensor<2x3x3x2xbf16>) -> tensor<2x3x3x2xf32> // CHECK: %[[conv:.*]] = "tf.Conv2D"(%arg0, %[[cast]]) // CHECK: %[[identity:.*]] = "tf.IdentityN"(%[[conv]]) {device = ""} : (tensor<1x3x2x2xf32>) -> tensor<1x3x2x2xf32> // CHECK: return %[[identity]] : tensor<1x3x2x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 8.4K bytes - Viewed (0)