Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for max_pool (0.16 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // -----
    
    // CHECK-LABEL: maxpool_explicit_padding
    func.func @maxpool_explicit_padding(%arg0: tensor<2x12x20x7xi32>) -> tensor<2x3x5x7xi32> {
      // CHECK: tf.MaxPool
      // TODO(b/165938852): need to support explicit padding in max_pool.
    
      %0 = "tf.MaxPool"(%arg0) {data_format = "NHWC", ksize = [1, 2, 2, 1], padding = "EXPLICIT", strides = [1, 4, 4, 1]} : (tensor<2x12x20x7xi32>) -> tensor<2x3x5x7xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        ConvertAvgPoolGradOp<TF::AvgPool3DGradOp, /*num_dims=*/5>;
    
    // Converts MaxPool op to HLO ReduceWindow op by setting appropriate window
    // dimensions with max as the reduction function.
    //
    // Sample result for VALID padding mode:
    //
    //   %init = arith.constant dense<...> : tensor<i32>
    //   %max_pool = "mhlo.reduce"(%inp, %init) ["mhlo.maximum"]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

    def _composite_max_pool(input_, stride_w, stride_h, filter_width, filter_height,
                            padding):
      ksize = [1, filter_width, filter_height, 1]
      strides = [1, stride_w, stride_h, 1]
      return tf.raw_ops.MaxPool(
          input=input_, ksize=ksize, strides=strides, padding=padding)
    
    
    @tf.RegisterGradient('NewMaxPool')
    def _max_pool_grad(op: ops.Operation, grad):
      filter_width = op.get_attr('filter_width')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

      %explicit_paddings = tfr.constant [] -> !tfr.attr
      %data_format = tfr.constant "NHWC" -> !tfr.attr
      %MaxPool = tfr.call @tf__max_pool(%input_, %stride, %filter, %padding, %explicit_paddings, %data_format) : (!tfr.tensor, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr) -> (!tfr.tensor)
      tfr.return %MaxPool : !tfr.tensor
    // CHECK: tf__max_pool
    }
    
    // CHECK-LABEL: @tf__cast_float
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/hns_test.go

    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func createTestNetwork() (*hcn.HostComputeNetwork, error) {
    	network := &hcn.HostComputeNetwork{
    		Type: NETWORK_TYPE_OVERLAY,
    		Name: "TestOverlay",
    		MacPool: hcn.MacPool{
    			Ranges: []hcn.MacRange{
    				{
    					StartMacAddress: "00-15-5D-52-C0-00",
    					EndMacAddress:   "00-15-5D-52-CF-FF",
    				},
    			},
    		},
    		Ipams: []hcn.Ipam{
    			{
    				Type: "Static",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK:  %1 = "tf.MaxPool"(%arg0)
    // CHECK:  %2 = "tf.MaxPool"(%arg0)
    }
    
    func.func @maxPool2DChannelFirst(%arg0: tensor<1x16x6x6xf32>) -> tensor<1x16x1x1xf32> {
      // OK
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/nn_grad.cc

          scope, op.input(0), op.output(0), grad_inputs[0], ksize, strides, padding,
          internal::MaxPoolGrad::DataFormat(data_format));
      grad_outputs->push_back(dx);
      return scope.status();
    }
    REGISTER_GRADIENT_OP("MaxPool", MaxPoolGradHelper);
    
    Status MaxPoolGradV2Helper(const Scope& scope, const Operation& op,
                               const std::vector<Output>& grad_inputs,
                               std::vector<Output>* grad_outputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/flags.cc

              " RED: All reduction operations."
              " MISC: Mixed operations."
              " PWRED: TF operations that get converted to PW+RED operation in XLA."
              " REDUCEWINDOW: TF operations like MaxPool/AvgPool that get "
              "converted to ReduceWindow in XLA."
              " REDUCEWINDOWPW: Operation that get converted to ReduceWindow + PW "
              "(LRN, LRNGrad)."
              " BN: TF FusedBatchNorm* operations."
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. RELEASE.md

    *   Fixes a `CHECK` fail in `tf.linalg.matrix_rank` ([CVE-2022-35988](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35988))
    *   Fixes a `CHECK` fail in `MaxPool` ([CVE-2022-35989](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35989))
    *   Fixes a `CHECK` fail in `Conv2DBackpropInput` ([CVE-2022-35999](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35999))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top