- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for conv_2d (0.15 sec)
-
test/typeparam/issue49027.dir/a.go
package a func Conv(v interface{}) string { return conv[string](v) } func conv[T any](v interface{}) T { return v.(T) } func Conv2(v interface{}) (string, bool) { return conv2[string](v) } func conv2[T any](v interface{}) (T, bool) { x, ok := v.(T) return x, ok } func Conv3(v interface{}) string { return conv3[string](v) } func conv3[T any](v interface{}) T {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 19 22:47:48 UTC 2021 - 871 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir
%6 = "tf.Cast"(%5) {Truncate = false} : (tensor<1x100x100x1xi8>) -> tensor<1x100x100x1xf32> %7 = "tf.Sub"(%6, %cst_4) : (tensor<1x100x100x1xf32>, tensor<f32>) -> tensor<1x100x100x1xf32> %8 = "tf.Conv2D"(%7, %cst_3) {dilations = [1, 1, 1, 1], padding = "VALID", strides = [1, 1, 1, 1]} : (tensor<1x100x100x1xf32>, tensor<3x3x1x1xf32>) -> tensor<1x98x98x1xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h
if (!input_type || !input_type.hasStaticShape()) { return false; } total_count += input_type.getNumElements(); } *count = total_count; return true; } // For conv2d/depthwise_conv/fully_connected ops. // This algorithm actually comes from TOCO tooling_util.cc static bool GetArithmeticCountForConvAndFullyconnectedOp(mlir::Operation* op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized_drq.mlir
%input : tensor<*xf32>, %weight : tensor<*x!tf_type.qint8>, %weight_scale : tensor<*xf32>, %weight_zp : tensor<*xi32>) -> tensor<*xf32> attributes {tf_quant.quantized_ops = ["Conv2D"]} { %out = "tf.UniformQuantizedConvolutionHybrid"(%input, %weight, %weight_scale, %weight_zp) { Tlhs = "tfdtype$DT_FLOAT", Trhs = "tfdtype$DT_QINT8",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 01 12:06:54 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_flow.mlir
%1 = "tf.FakeQuantWithMinMaxArgs"(%arg0) {device = "", max = 2.000000e-01 : f32, min = -1.000000e-01 : f32, narrow_range = false, num_bits = 8 : i64} : (tensor<1x3x4x3xf32>) -> tensor<*xf32> %2 = "tf.Conv2D"(%1, %0) {data_format = "NHWC", device = "", dilations = [1, 1, 1, 1], explicit_paddings = [], padding = "SAME", strides = [1, 1, 2, 1], use_cudnn_on_gpu = true} : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_quantize_ptq_per_channel.mlir
%1 = "quantfork.stats"(%arg0) {layerStats = dense<[1.27501142, 149.824783]> : tensor<2xf32>} : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 10:21:29 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/optimize.td
def DefinedByConv2D : Constraint<CPred<"llvm::isa_and_nonnull<mlir::TF::Conv2DOp>($0.getDefiningOp())">>; // Checks if the value has only one user. def HasOneUse : Constraint<CPred<"$0.hasOneUse()">>; // If we see a Conv2D op followed by Mul, then multiply the filter // with the value in Mul. def FuseMulAndConv2D : Pat<(TF_MulOp:$mul (TF_Conv2DOp:$conv $input, (Arith_ConstantOp:$filter F32ElementsAttr:$filter_value),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 22 07:31:23 UTC 2023 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver_with_skipping.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir
%3 = "tf.Cast"(%2) {Truncate = false} : (tensor<960x960x3x512xi8>) -> tensor<960x960x3x512xi32> %4 = "tf.Sub"(%3, %arg5) : (tensor<960x960x3x512xi32>, tensor<512xi32>) -> tensor<960x960x3x512xi32> %5 = "tf.Conv2D"(%1, %4) {dilations = [1, 1, 1, 1], explicit_paddings = [], padding = "SAME", strides = [1, 1, 2, 1], use_cudnn_on_gpu = true} : (tensor<1x2240x2240x3xi32>, tensor<960x960x3x512xi32>) -> tensor<1x2240x1120x512xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 5.9K bytes - Viewed (0) -
test/typeparam/issue49027.dir/main.go
package main import ( "./a" "fmt" ) func main() { s := "foo" x := a.Conv(s) if x != s { panic(fmt.Sprintf("got %s wanted %s", x, s)) } y, ok := a.Conv2(s) if !ok { panic("conversion failed") } if y != s { panic(fmt.Sprintf("got %s wanted %s", y, s)) } z := a.Conv3(s) if z != s { panic(fmt.Sprintf("got %s wanted %s", z, s)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 617 bytes - Viewed (0)