Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 99 of 99 for conv2 (0.09 sec)

  1. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]])
      // CHECK: %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[dq]], %[[cst]])
      // CHECK: return %[[conv]] : tensor<256x8x7x3xf32>
    }
    
    // CHECK-LABEL: @fuseMulIntoFullyConnectedWithOptionalAttribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    			return false
    		}
    	}
    
    	// DefaultLit is necessary for non-constants too: n might be 1.1<<k.
    	n = DefaultLit(n, types.Types[types.TINT])
    	*np = n
    
    	return true
    }
    
    func Conv(n ir.Node, t *types.Type) ir.Node {
    	if types.IdenticalStrict(n.Type(), t) {
    		return n
    	}
    	n = ir.NewConvExpr(base.Pos, ir.OCONV, nil, n)
    	n.SetType(t)
    	n = Expr(n)
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          }
          func @_func(%input: tensor<2x112x112x12xf32>, %filter: tensor<7x7x3x64xf32>) {
            %filter_transform = "tf.Pad/tf.Transpose/tf.Reshape"(%filter): tensor<7x7x3x64xf32>) -> tensor<4x4x12x64xf32>
            %conv = "tf.Conv2D"(%input, %filter_transfrom) {strides = [1, 1, 1, 1]}: (tensor<2x112x112x12xf32>, tensor<4x4x12x64xf32>) -> tensor<2x112x112x64xf32>
          }
        }
        ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                (i != out_batch_dim && out_type.isDynamicDim(i))) {
              return false;
            }
          }
        }
    
        // All ones in "lhs_dilation" means this "mhlo.conv" op should be
        // converted to "tf.Conv2D" or "tf.DepthwiseConv2dNativeOp".
        auto lhs_dilation = conv_op.getLhsDilation().value();
        if (!lhs_dilation.isSplat() || lhs_dilation.getSplatValue<int64_t>() != 1)
          return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. src/database/sql/sql_test.go

    	if err != nil {
    		t.Fatalf("db open conn fail: %v", err)
    	}
    
    	conn1, err := db.conn(ctx, cachedOrNewConn)
    	if err != nil {
    		t.Fatalf("db open conn fail: %v", err)
    	}
    
    	conn2, err := db.conn(ctx, cachedOrNewConn)
    	if err != nil {
    		t.Fatalf("db open conn fail: %v", err)
    	}
    
    	if g, w := db.numOpen, 3; g != w {
    		t.Errorf("free conns = %d; want %d", g, w)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/ssa.go

    				conv = conv1
    			}
    		}
    		if Arch.LinkArch.Family == sys.ARM64 || Arch.LinkArch.Family == sys.Wasm || Arch.LinkArch.Family == sys.S390X || s.softFloat {
    			if conv1, ok1 := uint64fpConvOpToSSA[twoTypes{s.concreteEtype(ft), s.concreteEtype(tt)}]; ok1 {
    				conv = conv1
    			}
    		}
    
    		if Arch.LinkArch.Family == sys.MIPS && !s.softFloat {
    			if ft.Size() == 4 && ft.IsInteger() && !ft.IsSigned() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	conn1 := <-conns
    
    	// Start another request and grab its connection
    	response2c := make(chan string, 1)
    	go fetch(2, response2c)
    	conn2 := <-conns
    
    	// Send a response on connection 2.
    	conn2.(*blockingRemoteAddrConn).addrs <- &net.TCPAddr{
    		IP: net.ParseIP("12.12.12.12"), Port: 12}
    
    	// ... and see it
    	response2 := <-response2c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return emitOptionalError(location, "invalid padding format provided");
      }
    
      // Output always have rank 4. All dimensions are initialized to
      // dynamic size and can be partially inferred.
      // TFL's conv2d is always NHWC format & the filter is OHWI.
      SmallVector<int64_t, 4> return_shape(4, ShapedType::kDynamic);
      return_shape[0] = input_ty.getDimSize(0);
      return_shape[3] = filter_ty.getDimSize(0);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    `channels_last_format`, see below for details.}]>:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    def TF_Conv2DOp : TF_Op<"Conv2D", [InferTensorType, Pure, TF_LayoutSensitiveInterface]> {
      let summary = [{
    Computes a 2-D convolution given 4-D `input` and `filter` tensors.
      }];
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top