- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for aConstant (0.3 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir
func.func @dot_general_with_bias_same_shape_and_relu6_fn(%arg0: tensor<1x1x167xf32>) -> tensor<1x1x64xf32> { %0 = stablehlo.constant dense<2.000000e+00> : tensor<167x64xf32> %1 = stablehlo.constant dense<2.000000e+00> : tensor<1x1x64xf32> %2 = stablehlo.constant dense<0.000000e+00> : tensor<1x1x64xf32> %3 = stablehlo.constant dense<6.000000e+00> : tensor<1x1x64xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 49.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
func keyVal(x constant.Value) interface{} { switch x.Kind() { case constant.Complex: f := constant.ToFloat(x) if f.Kind() != constant.Float { r, _ := constant.Float64Val(constant.Real(x)) i, _ := constant.Float64Val(constant.Imag(x)) return complex(r, i) } x = f fallthrough case constant.Float: i := constant.ToInt(x) if i.Kind() != constant.Int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// CHECK-LABEL: conv // CHECK-DAG: %[[CONSTANT:.*]] = arith.constant dense<0.000000e+00> : tensor<16xf32> // CHECK-DAG: %[[CONSTANT0:.*]] = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32> // CHECK-DAG: %[[CONSTANT1:.*]] = arith.constant dense<[{{\[}}0, 0], [1, 1], [1, 1], [0, 0]]> : tensor<4x2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
src/go/types/expr.go
func keyVal(x constant.Value) interface{} { switch x.Kind() { case constant.Complex: f := constant.ToFloat(x) if f.Kind() != constant.Float { r, _ := constant.Float64Val(constant.Real(x)) i, _ := constant.Float64Val(constant.Imag(x)) return complex(r, i) } x = f fallthrough case constant.Float: i := constant.ToInt(x) if i.Kind() != constant.Int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 91.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
// %1 = // Input tensor r2. // %2 = stablehlo.constant // Input 1 inverse scale 1 / s1. // %3 = stablehlo.constant // Input 1 zero point z1 (i8). // %4 = stablehlo.constant // Input 1 zero point z1 (i32). // %5 = stablehlo.constant // Input 2 inverse scale 1 / s2. // %6 = stablehlo.constant // Input 2 zero point z2 (i8). // %7 = stablehlo.constant // Input 2 zero point z2 (i32).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir
%cst = arith.constant dense<25.4> : tensor<2x3xf32> func.return %cst : tensor<2x3xf32> // CHECK-NEXT: %[[cst:.*]] = arith.constant dense<2.540000e+01> : tensor<2x3xf32> // CHECK-NEXT: "tfl.quantize"(%[[cst]]) <{qtype = tensor<2x3x!quant.uniform<u8:f32, 0.099607841641295186>>}> {volatile} } // CHECK-LABEL: QuantizePositiveScalar func.func @QuantizePositiveScalar() -> tensor<f32> { %cst = arith.constant dense<2.54> : tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 67.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
// If we see a binary op (add, sub) op adding a constant value to a convolution // op with constant bias, we can fuse the binary op into the convolution op by // constant folding the bias and the binary op's constant operand. The following // pattern restricts to float constant values for now. multiclass FuseBinaryOpToPrecedingAffine<Op binaryOp> { def FuseBinaryOpWithConv#binaryOp : Pat<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir
%cst_4 = arith.constant dense<[0, 0, 1, 1, 1]> : tensor<5xi32> %cst_5 = arith.constant dense<[0, 1, 0, 1, 1]> : tensor<5xi32> %cst_6 = arith.constant dense<2> : tensor<i32> %cst_7 = arith.constant dense<"*"> : tensor<!tf_type.string> %cst_8 = arith.constant dense<-1> : tensor<1xi32> %cst_9 = arith.constant dense<-1> : tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir
// CHECK-NEXT: %[[CONST:.*]] = "tf.Const"() %constant = "tf.Const"() {value = dense<0.0> : tensor<4xf32>} : () -> tensor<4xf32> "tf.AssignVariableOp"(%arg0, %constant) : (tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<4xf32>) -> () // CHECK-NEXT: return %[[CONST]], %[[CONST]] func.return %arg0, %constant : tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<4xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 74K bytes - Viewed (0)