- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for conv2 (0.15 sec)
-
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) -
src/compress/gzip/issue14937_test.go
// has a zero MTIME. This is a requirement for the Debian maintainers // to be able to have deterministic packages. // // To patch a .gz file, use the following command: // // $ dd if=/dev/zero bs=1 seek=4 count=4 conv=notrunc of=filename.gz // // See https://golang.org/issue/14937. func TestGZIPFilesHaveZeroMTimes(t *testing.T) { // To avoid spurious false positives due to untracked GZIP files that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 10 16:37:53 UTC 2024 - 2K 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/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) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc
// Configure `QuantizationSpecs` to apply `StaticRangePtq` to compute heavy // units. constexpr absl::string_view kSpecsStaticRangePtqToComputeHeavy = R"pb(specs [ { matcher { function_name { regex: "^.*(conv|dot|gather).*" } } method { static_range_ptq {} } }])pb"; class TestLiftQuantizableSpotsAsFunctionsWithQuantizationSpecsPass : public impl::
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc
if (function_name.contains("with_bias")) { spec->biases_params[2] = {{0, 1}, quant::GetUniformQuantizedTypeForBias}; } } else if (function_name.contains("conv2d")) { spec->coeff_op_quant_dim[1] = 3; if (function_name.contains("with_bias")) { spec->biases_params[2] = {{0, 1}, quant::GetUniformQuantizedTypeForBias}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc
return spec; } QuantizationSpec GetDefaultWeightOnlyPtqSpec() { QuantizationSpec spec{}; spec.mutable_matcher()->mutable_function_name()->set_regex( "^.*(conv|dot_general).*"); WeightOnlyPtq& weight_only_ptq_spec = *spec.mutable_method()->mutable_weight_only_ptq(); if (auto [iter, inserted] = weight_only_ptq_spec.mutable_input_quantized_types()->try_emplace(1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 8.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyTest.groovy
when: def base = new DefaultProjectDependency(project, "conf1", true, TestFiles.taskDependencyFactory()) def differentConf = new DefaultProjectDependency(project, "conf2", true, TestFiles.taskDependencyFactory()) def differentBuildDeps = new DefaultProjectDependency(project, "conf1", false, TestFiles.taskDependencyFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py
derived_attrs=['T: {float, int8}'], outputs=['o: T']) def _composite_conv_add_relu(input_, filter_, bias, stride_w, stride_h, dilation_w, dilation_h, padding, act): res = tf.raw_ops.Conv2D( input=input_, filter=filter_, strides=[1, stride_w, stride_h, 1], dilations=[1, dilation_w, dilation_h, 1], padding=padding) res = tf.raw_ops.Add(x=res, y=bias) if act == 'RELU':
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 20:23:51 UTC 2023 - 6.8K bytes - Viewed (0)