- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for rescale (0.26 sec)
-
tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 122.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
} // Creates a new `tfl.qconst` op for the bias. The bias values are 0s, because // this bias a dummy bias (note that bias fusion is not considered for this // transformation). The quantization scale for the bias is input scale * // filter scale. `filter_const_op` is used to retrieve the filter scales and // the size of the bias constant. TFL::QConstOp CreateTflConstOpForDummyBias(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// ----- // Tests that a float `stablehlo.reshape` is not converted to `tfl.reshape`. func.func @reshape_float(%arg0: tensor<2x3x4xf32>) -> tensor<6x4xf32> { %0 = stablehlo.reshape %arg0 : (tensor<2x3x4xf32>) -> tensor<6x4xf32> return %0 : tensor<6x4xf32> } // CHECK-LABEL: reshape_float // CHECK-NOT: tfl.reshape // CHECK: stablehlo.reshape // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
auto thisOp = cast<ReshapeOp>(op); auto prevOp = cast<ReshapeOp>(thisOp.getOperand(0).getDefiningOp()); // Replace // %1 = "tfl.reshape"(%0, %shape0) // %2 = "tfl.reshape"(%1, %shape1) // With // %2 = "tfl.reshape"(%0, %shape1) rewriter.replaceOpWithNewOp<ReshapeOp>( op, thisOp.getType(), prevOp.getOperand(0), thisOp.getOperand(1)); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK-LABEL: dynamicReshape // CHECK-NEXT: %[[reshape:.*]] = "tfl.reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<2xi32>) -> tensor<?x?xf32> // CHECK-NEXT: return %[[reshape]] : tensor<?x?xf32> } func.func @dynamicReshapeI64(%arg0: tensor<*xf32>, %arg1: tensor<2xi64>) -> tensor<?x?xf32> { %0 = "tf.Reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<2xi64>) -> tensor<?x?xf32> func.return %0 : tensor<?x?xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
src/debug/elf/elf.go
EM_CE Machine = 119 /* Freescale Communication Engine RISC core */ EM_M32C Machine = 120 /* Renesas M32C series microprocessors */ EM_TSK3000 Machine = 131 /* Altium TSK3000 core */ EM_RS08 Machine = 132 /* Freescale RS08 embedded processor */ EM_SHARC Machine = 133 /* Analog Devices SHARC family of 32-bit DSP processors */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
if quote == '"' { // “The <backslash> shall retain its special meaning as an escape // character … only when followed by one of the following characters // when considered special:” switch c { case '$', '`', '"', '\\', '\n': // Handle the escaped character normally. default: // Not an escape character after all. flag = append(flag, '\\', c) escaped = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} BufferOffset<tflite::QuantizationParameters> q_params = 0; if (auto qtype = mlir::dyn_cast<mlir::quant::UniformQuantizedType>(element_type)) { std::vector<float> scales = {static_cast<float>(qtype.getScale())}; std::vector<int64_t> zero_points = {qtype.getZeroPoint()}; q_params = tflite::CreateQuantizationParameters( builder_, /*min=*/0, /*max=*/0, builder_.CreateVector<float>(scales),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (x && !IsOfRankedFloatTensorType(x, 4)) return op.emitOpError("requires x to be a 4D float tensor"); auto scale = GetRankedTensorTypeForOperand(op.getScale()); if (scale && !IsOfRankedFloatTensorType(scale, 1)) return op.emitOpError("requires scale to be a 1D float tensor"); auto offset = GetRankedTensorTypeForOperand(op.getOffset()); if (offset && !IsOfRankedFloatTensorType(offset, 1))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/reflect/all_test.go
}) } type Point struct { x, y int } // This will be index 0. func (p Point) AnotherMethod(scale int) int { return -1 } // This will be index 1. func (p Point) Dist(scale int) int { //println("Point.Dist", p.x, p.y, scale) return p.x*p.x*scale + p.y*p.y*scale } // This will be index 2. func (p Point) GCMethod(k int) int { runtime.GC() return k + p.x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)