- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 196 for conv2 (0.08 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) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 19 22:47:48 UTC 2021 - 871 bytes - Viewed (0) -
test/inline.go
} // 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) -
test/typeparam/issue49027.dir/main.go
"./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)) } w := a.Conv4(a.Mystring(s)) if w != a.Mystring(s) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 617 bytes - Viewed (0) -
test/newinline.go
} // 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) -
tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train.py
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') # Reshape the feature map cuboid into a 2D matrix to feed it to the # fully connected layers. # output shape: [-1, 7*7*64]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 20 03:05:18 UTC 2021 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_to_nhwc.mlir
%5 = "tf.Conv2D"(%4, %arg3) { data_format = "NCHW", dilations = [1, 1, 1, 1], explicit_paddings = [], padding = "VALID", strides = [1, 1, 2, 2] } : (tensor<?x3x230x230xf32>, tensor<7x7x3x64xf32>) -> tensor<?x64x112x112xf32> // CHECK: %[[CONV0:[0-9]*]] = "tf.Conv2D" // CHECK-SAME: %[[PAD]]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.3K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir
%b2 = arith.constant dense<[1.0e-2, 2.1473647e1, -2.1473647e2]> : tensor<3xf32> %conv = "tfl.conv_2d"(%0, %w, %b) { 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> %conv2 = "tfl.conv_2d"(%0, %w, %b2) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/dilated-conv.mlir
// CHECK-NEXT: [[CONV:%.*]] = "tf.Conv2D"([[INPUT]], [[FILTER]]) <{dilations = [1, 2, 2, 1], padding = "SAME", strides = [1, 1, 1, 1]}> : (tensor<1x128x128x3xf32>, tensor<5x5x3x8xf32>) -> tensor<1x128x128x8xf32> // CHECK-NEXT: [[RESULT:%.*]] = "tf.BiasAdd"([[CONV]], [[BIAS]]) : (tensor<1x128x128x8xf32>, tensor<8xf32>) -> tensor<1x128x128x8xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 44.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/g3doc/space_to_depth.md
```python conv0 = tf.compat.v1.layers.Conv2D( filters=filters, kernel_size=kernel_size, strides=2, padding=('SAME' if strides == 1 else 'VALID'), use_bias=False, kernel_initializer=tf.variance_scaling_initializer(), data_format=data_format) # Use the image size without space-to-depth transform as the input of conv0.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Oct 24 02:51:43 UTC 2020 - 8.3K bytes - Viewed (0)