Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,207 for dilation (0.28 sec)

  1. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

                                           "Conv2D op doesn't have valid padding");
      }
      // Make sure dilations are all ones if set.
      const ArrayAttr& dilations =
          op->template getAttrOfType<ArrayAttr>("dilations");
      if (dilations && !TFIntListIsAllOnes(dilations)) {
        return rewriter.notifyMatchFailure(op, "dilations should be all 1");
      }
    
      if (!TFL::TFTypeIsFloat32Tensor(op.getInput()) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        // Constructs dilation array.
        SmallVector<int64_t, 4> dilation;
        if (auto rhs_dilation = conv_op.getRhsDilation()) {
          // For example, [2, 3] -> [1, 2, 3, 1].
          dilation.emplace_back(1);
          dilation.append(rhs_dilation.value().getValues<int64_t>().begin(),
                          rhs_dilation.value().getValues<int64_t>().end());
          dilation.emplace_back(1);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          const int64_t dim = GetTensorSpatialDimIndex(num_dims, data_format, i);
          spatial_dim_indices.push_back(dim);
    
          const int64_t dilation = get_int(dilations[dim]);
          rhs_dilations.push_back(dilation);
          const int64_t stride = get_int(strides[dim]);
          window_strides.push_back(stride);
    
          Value pad_low, pad_high;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

      IntegerAttr dilation_depth_factor, dilation_height_factor,
          dilation_width_factor;
      if (!TFIntListIs1XYZ1(op, "dilations", &dilation_depth_factor,
                            &dilation_height_factor, &dilation_width_factor)) {
        // If the 'dilations' attribute is missing, we use the default value (1)
        // for all dilation depth, height and width factor.
        dilation_depth_factor = rewriter.getI32IntegerAttr(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        // Only 2d pooling is supported in TFLite.
        if (op.getWindowDimensions().size() != 4) {
          return failure();
        }
    
        // reduce_window op with dilations or padding will supported later.
        // TODO: b/321099943 - Support reduce_window op with dilations and padding.
        if (op.getBaseDilations().has_value() ||
            op.getWindowDilations().has_value() || op.getPadding().has_value()) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        state.stride_height = height;
        state.stride_width = width;
    
        if (TFIntListIs1XY1(op, "dilations", &height, &width)) {
          state.dilation_height_factor = height;
          state.dilation_width_factor = width;
        } else {
          // If the 'dilations' attribute is missing, we use the default value (1)
          // for both dilation height and width factor.
          state.dilation_height_factor = intAttrOne;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

            verify_size(window_strides.size(), "window strides") &&
            verify_size(padding.size(), "padding entries") &&
            verify_size(lhs_dilation.size(), "lhs dilation factors") &&
            verify_size(rhs_dilation.size(), "rhs dilation factors")))
        return std::nullopt;
    
      xla::Window window;
      for (size_t i = 0; i < window_dimensions.size(); i++) {
        auto dim = window.add_dimensions();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/duration.go

    	"encoding/json"
    	"time"
    )
    
    // Duration is a wrapper around time.Duration which supports correct
    // marshaling to YAML and JSON. In particular, it marshals into strings, which
    // can be used as map keys in json.
    type Duration struct {
    	time.Duration `protobuf:"varint,1,opt,name=duration,casttype=time.Duration"`
    }
    
    // UnmarshalJSON implements the json.Unmarshaller interface.
    func (d *Duration) UnmarshalJSON(b []byte) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 00:11:06 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Duration.java

    import java.math.BigDecimal;
    
    public class Duration {
        public static final Units<Duration> MILLI_SECONDS = Units.base(Duration.class, "ms");
        public static final Units<Duration> SECONDS = MILLI_SECONDS.times(1000, "s");
        public static final Units<Duration> MINUTES = SECONDS.times(60, "m");
        public static final Units<Duration> HOURS = MINUTES.times(60, "h");
    
        public static Amount<Duration> millis(long millis) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/duration/duration.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package duration
    
    import (
    	"fmt"
    	"time"
    )
    
    // ShortHumanDuration returns a succinct representation of the provided duration
    // with limited precision for consumption by humans.
    func ShortHumanDuration(d time.Duration) string {
    	// Allow deviation no more than 2 seconds(excluded) to tolerate machine time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 09:44:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top