- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for convert_v1 (0.17 sec)
-
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
//CHECK-NEXT:} func.func @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> { %0 = "vhlo.convert_v1" (%arg0) : (tensor<2xf64>) -> tensor<2xf32> return %0 : tensor<2xf32> } //CHECK:func.func private @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> { //CHECK-NEXT: %0 = "vhlo.convert_v1"(%arg0) : (tensor<2xf64>) -> tensor<2xf32> //CHECK-NEXT: return %0 : tensor<2xf32> //CHECK-NEXT:}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir
// CHECK: %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]]) // CHECK: %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]]) // CHECK: %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]], // CHECK: %[[CONVERT_2:.*]] = f32[] convert(s32[] %[[SUB]]) // CHECK: %[[MUL:.*]] = f32[] multiply(f32[] %[[CONVERT_2]],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 16:28:50 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir
// CHECK: %[[CONVERT_1:.*]] = mhlo.bitcast_convert %[[QUANTIZE]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xi8> // CHECK: %[[CONVERT_2:.*]] = mhlo.bitcast_convert %[[CONVERT_1]] : (tensor<2xi8>) -> tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>> // CHECK: %[[DEQUANTIZE:.*]] = mhlo.uniform_dequantize %[[CONVERT_2]] : (tensor<2x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 01:25:29 UTC 2024 - 37.3K bytes - Viewed (0) -
test/convert1.go
Emmanuel Odeke <******@****.***> 1460323946 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 3.4K bytes - Viewed (0) -
test/interface/convert1.go
Rob Pike <******@****.***> 1329633221 +1100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 393 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
bool IsConvertOpLegal(ConvertOp convert_op, BFloat16TypeConverter& converter) { if (!converter.isLegal(convert_op.getOperand().getType())) { auto other_convert_op = dyn_cast_or_null<OtherConvertOp>( convert_op.getOperand().getDefiningOp()); return other_convert_op && converter.isLegal(other_convert_op.getOperand().getType()); } else if (!converter.isLegal(convert_op.getResult().getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/ToPlannedNodeConverterRegistry.java
ToPlannedNodeConverter converter1 = converters.get(i); for (int j = i + 1; j < converterCount; j++) { ToPlannedNodeConverter converter2 = converters.get(j); checkOverlappingConverters(converter1, converter2); } } } private static void checkOverlappingConverters(ToPlannedNodeConverter converter1, ToPlannedNodeConverter converter2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/conversion/converter_test.go
} type B struct { Bar string Baz int } type C struct{} c := NewConverter(nil) convertFn1 := func(in *A, out *B, s Scope) error { out.Bar = in.Foo out.Baz = in.Baz return nil } if err := c.RegisterUntypedConversionFunc( (*A)(nil), (*B)(nil), func(a, b interface{}, s Scope) error { return convertFn1(a.(*A), b.(*B), s) }, ); err != nil { t.Fatalf("unexpected error %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 06 06:28:24 UTC 2021 - 6.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy
expect: parser.parseNotation(12) == "[12]" } def "can add multiple converters"() { def converter1 = Mock(NotationConverter) def converter2 = Mock(NotationConverter) given: _ * converter1.convert(12, _) >> { Object n, NotationConvertResult result -> result.converted("[12]") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
for (const OpOperand& connected_op : op.getResult().getUses()) { ConvertOp convert_op = dyn_cast_or_null<ConvertOp>(connected_op.getOwner()); // ConvertOp already exists. Rewire the existing convert op into f16. if (convert_op && convert_op.getType() == new_result_type) { quantizable_op->setOperand(quantize_operand_num, convert_op); return; } } rewriter.setInsertionPointAfter(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0)