Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for kSize2 (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-default-attr.pbtxt

      attr {
        key: "strides"
        value {
          list {
            i: 1
            i: 2
            i: 2
            i: 1
          }
        }
      }
      attr {
        key: "ksize"
        value {
          list {
            i: 1
            i: 2
            i: 2
            i: 1
          }
        }
      }
      attr {
        key: "padding"
        value {
          s: "SAME"
        }
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:32:15 UTC 2020
    - 12K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: mhlo.maximum
      // CHECK: mhlo.return
    
      %0 = "tf.MaxPool"(%arg0) {data_format = "NHWC", ksize = [1, 2, 2, 1], padding = "VALID", strides = [1, 4, 4, 1]} : (tensor<2x12x20x7xi32>) -> tensor<2x3x5x7xi32>
      func.return %0 : tensor<2x3x5x7xi32>
    }
    
    // -----
    
    // CHECK-LABEL: maxpool_same_padding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            elif self.same_scale_op == 'gather':
              out = array_ops.gather(out, indices=[0], axis=0)
            elif self.same_scale_op == 'max_pool':
              out = nn_ops.max_pool(out, ksize=3, strides=1, padding='SAME')
            elif self.same_scale_op == 'pad':
              paddings = array_ops.ones(
                  (array_ops.rank(out), 2), dtype=dtypes.int32
              )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

        // CHECK: return %[[RESULT]] : tensor<10x24x24x64xf32>
        %result = "tf.MaxPoolGrad"(%orig_input, %orig_output, %grad) {
          data_format = "NHWC",
          explicit_paddings = [],
          ksize = [1, 2, 2, 1],
          padding = "VALID",
          strides = [1, 2, 2, 1]
        } : (tensor<10x24x24x64xf32>, tensor<10x12x12x64xf32>, tensor<10x12x12x64xf32>) -> tensor<10x24x24x64xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK-SAME:                                %[[VAL_0:.*]]: tensor<4x16x16x8xf32>) -> tensor<4x7x7x8xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.AvgPool"(%[[VAL_0]]) <{data_format = "NHWC", ksize = [1, 3, 3, 1], padding = "VALID", strides = [1, 2, 2, 1]}> : (tensor<4x16x16x8xf32>) -> tensor<4x7x7x8xf32>
    // CHECK:           return %[[VAL_1]] : tensor<4x7x7x8xf32>
    // CHECK:         }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            llvm::to_vector<num_dims>(input_type.getShape()));
        SmallVector<int64_t, num_dims> ksize, strides;
        GetI64ArrayAttrValues(op.getKsize(), &ksize);
        GetI64ArrayAttrValues(op.getStrides(), &strides);
    
        Operation *result_op = AvgPoolDivideByCount<OpTy, num_dims>(
            reduce.getResult(0), input_shape, ksize, strides, op, init, rewriter);
    
        // Convert back if we enlarged the element type's bitwidth.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/c_api_test.cc

      TFE_OpAddInput(op, tensor_handle, status);
      TF_DeleteTensor(tensor);
      TFE_DeleteTensorHandle(tensor_handle);
    
      std::vector<int64_t> values(4, 1);
      TFE_OpSetAttrIntList(op, "ksize", values.data(), values.size());
      TFE_OpSetAttrIntList(op, "strides", values.data(), values.size());
    
      const int BUFFER_SIZE = 10;
      char buffer[BUFFER_SIZE];
      std::strncpy(buffer, "VALID", BUFFER_SIZE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    		v = v<<2 | v>>30
    	}
    
    	return false
    }
    
    // overlap reports whether the ranges given by the given offset and
    // size pairs overlap.
    func overlap(offset1, size1, offset2, size2 int64) bool {
    	if offset1 >= offset2 && offset2+size2 > offset1 {
    		return true
    	}
    	if offset2 >= offset1 && offset1+size1 > offset2 {
    		return true
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let description = [{
    Each entry in `output` is the mean of the corresponding size `ksize`
    window in `value`.
      }];
    
      let arguments = (ins
        Arg<TF_FloatTensor, [{4-D with shape `[batch, height, width, channels]`.}]>:$value,
    
        ConfinedAttr<I64ArrayAttr, [ArrayMinCount<4>]>:$ksize,
        ConfinedAttr<I64ArrayAttr, [ArrayMinCount<4>]>:$strides,
        TF_AnyStrAttrOf<["SAME", "VALID"]>:$padding,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    LogicalResult MaxPoolOp::FoldOperandsPermutation(
        ArrayRef<int64_t> permutation) {
      return ::mlir::TF::FoldOperandsPermutation(
          permutation, this, {{"strides", getStrides()}, {"ksize", getKsize()}});
    }
    
    LogicalResult MaxPoolOp::UpdateDataFormat(StringRef new_data_format) {
      StringRef src_data_format = getDataFormat();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top