Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Conv2 (0.09 sec)

  1. 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)
  2. test/inline.go

    	return *(*uint32)(unsafe.Pointer(&f))
    }
    
    // Ensure OCONVNOP is zero cost.
    func Conv(v uint64) uint64 { // ERROR "can inline Conv"
    	return conv2(conv2(conv2(v))) // ERROR "inlining call to (conv1|conv2)"
    }
    func conv2(v uint64) uint64 { // ERROR "can inline conv2"
    	return conv1(conv1(conv1(conv1(v)))) // ERROR "inlining call to conv1"
    }
    func conv1(v uint64) uint64 { // ERROR "can inline conv1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. test/newinline.go

    	return *(*uint32)(unsafe.Pointer(&f))
    }
    
    // Ensure OCONVNOP is zero cost.
    func Conv(v uint64) uint64 { // ERROR "can inline Conv"
    	return conv2(conv2(conv2(v))) // ERROR "inlining call to (conv1|conv2)"
    }
    func conv2(v uint64) uint64 { // ERROR "can inline conv2"
    	return conv1(conv1(conv1(conv1(v)))) // ERROR "inlining call to conv1"
    }
    func conv1(v uint64) uint64 { // ERROR "can inline conv1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py

        # output shape: [-1, 14, 14, 64]
        conv2 = gen_mnist_ops.new_conv2d(max_pool1, self.weights['f2'],
                                         self.biases['b2'], 1, 1, 1, 1, 'SAME',
                                         'RELU')
    
        # output shape: [-1, 7, 7, 64]
        max_pool2 = gen_mnist_ops.new_max_pool(conv2, 2, 2, 2, 2, 'SAME')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 20 03:05:18 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nhwc.mlir

             explicit_paddings = [],
             padding = "VALID",
             strides = [1, 1, 1, 1]
           } : (tensor<?x64x56x56xf32>, tensor<1x1x64x256xf32>) -> tensor<?x256x56x56xf32>
    
      // CHECK: %[[CONV2:[0-9]*]] = "tf.Conv2D"(%[[MAX_POOL]], %arg4)
      // CHECK-SAME: data_format = "NHWC"
    
      %12, %batch_mean_2, %batch_variance_2, %reserved_2_1, %reserved_2_2, %reserved_2_3 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

      %conv2 = "tfl.conv_2d"(%0, %w, %b2) {
        dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "RELU",
        padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32
      } : (tensor<1x5x5x2xf32>, tensor<3x1x1x2xf32>, tensor<3xf32>) -> tensor<1x5x5x3xf32>
      func.return %conv, %conv2 : tensor<1x5x5x3xf32>, tensor<1x5x5x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/prepare-quantize.mlir

      %conv2 = "tfl.conv_2d"(%4, %5, %cst) {dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 2 : i32, stride_w = 2 : i32} : (tensor<1x112x112x32xf32>, tensor<32x3x3x3xf32>, tensor<32xf32>) -> tensor<1x56x56x32xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
Back to top