Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 178 for conv_2d (0.12 sec)

  1. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.stack.part.pbtxt

        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@MobilenetV1/Conv2d_0/weights"
          }
        }
      }
    }
    node {
      name: "MobilenetV1/MobilenetV1/Conv2d_0/Conv2D"
      op: "Conv2D"
      input: "input"
      input: "MobilenetV1/Conv2d_0/weights/read"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers_test.cc

      Output const_0d = ops::Const(root.WithOpName("const_0d"), 42);
    
      Output const_2d = ops::Const(root.WithOpName("const_2d"), {{1, 2}, {4, 3}});
    
      EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42)));
      EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42), Name("const_0d")));
    
      EXPECT_THAT(const_2d.node(), NodeWith(ConstantValue({{1, 2}, {4, 3}})));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

        func.return %add : tensor<*xf32>
      }
    
      func.func @composite_conv2d_with_relu6_fn(%arg0: tensor<*xf32>, %arg1: tensor<*xf32>) -> tensor<*xf32> attributes {tf_quant.composite_function} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      // Input: [N, H, W, C] for Conv2D or [N, D, H, W, C] for Conv3D.
      dnums.set_input_batch_dimension(0);
      dnums.set_input_feature_dimension(num_dims - 1);
      // Kernel: [K, K, I, O] for Conv2D or [K, K, K, I, O] for Conv3D.
      dnums.set_kernel_input_feature_dimension(num_dims - 2);
      dnums.set_kernel_output_feature_dimension(num_dims - 1);
      // Output: [N, H, W, C] for Conv2D or [N, D, H, W, C] for Conv3D.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_drq_min_elements.mlir

    func.func @not_lift_float_conv(%arg0: tensor<1x3x4x512xf32>) -> (tensor<*xf32>) {
      %cst = "tf.Const"() {value = dense<3.000000e+00> : tensor<2x3x512x512xf32>} : () -> tensor<2x3x512x512xf32>
      %0 = "tf.Conv2D"(%arg0, %cst) {
        data_format = "NHWC", device = "", dilations = [1, 1, 1, 1], explicit_paddings = [],
        padding = "SAME", strides = [1, 1, 2, 1], use_cudnn_on_gpu = true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            scale, offset = [1.0] * 2, [0.5] * 2
            mean, variance = scale, offset
            out = nn_ops.conv2d(
                q_input,
                q_filter,
                strides=[1, 1, 2, 1],
                dilations=[1, 1, 1, 1],
                padding='SAME',
                data_format='NHWC',
                name='sample/conv2d',
            )
            if has_bias:
              out = nn_ops.bias_add(out, bias, data_format='NHWC')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir

        %5 = "tf.MatMul"(%1, %3) {
          attr_map = "transpose_a:0,transpose_b:1"
        } : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32>
        func.return %5 : tensor<*xi32>
      }
    
      // Conv2D with int32 accumulation
      func.func private @internal_conv2d_fn(
                             %input : tensor<*xi8>, %filter : tensor<*xi8>,
                             %input_scale : tensor<*xf32>, %input_zp : tensor<*xi32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  10. test/fixedbugs/bug327.go

    // license that can be found in the LICENSE file.
    
    // Conversion between identical interfaces.
    // Issue 1647.
    
    // The compiler used to not realize this was a no-op,
    // so it generated a call to the non-existent function runtime.convE2E.
    
    package main
    
    type (
    	a interface{}
    	b interface{}
    )
    
    func main() {
    	x := a(1)
    	z := b(x)
    	_ = z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 454 bytes
    - Viewed (0)
Back to top