- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for convert_v1 (0.14 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/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) -
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) -
hack/golangci.yaml
# https://github.com/kubernetes/kubernetes/issues/117288#issuecomment-1514201592 - linters: - stylecheck - revive text: "(ST1003: should not use underscores in Go names; func (Convert_.*_To_.*|SetDefaults_)|exported: exported function (Convert|SetDefaults)_.* should be of the form)" # This check currently has some false positives (https://github.com/nunnatsa/ginkgolinter/issues/91). - linters:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 9.8K bytes - Viewed (0) -
test/escape_reflect.go
stringTyp = reflect.TypeOf(string("")) // ERROR ".. does not escape" bytesTyp = reflect.TypeOf([]byte{}) // ERROR "\[\]byte{} does not escape" ) // Unfortunate: should not escape. func convert1(x int) uint { v := reflect.ValueOf(x) // ERROR "x escapes to heap" return uint(v.Convert(uintTyp).Uint()) } // Unfortunate: should only escape content to result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0)