Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for Tpaddings (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    `paddings` you specify. `paddings` must be the same as `paddings` argument
    given to the corresponding `MirrorPad` op.
    
    The folded size of each dimension D of the output is:
    
    `input.dim_size(D) - paddings(D, 0) - paddings(D, 1)`
    
    For example:
    
    ```
    # 't' is [[1, 2, 3], [4, 5, 6], [7, 8, 9]].
    # 'paddings' is [[0, 1]], [0, 1]].
    # 'mode' is SYMMETRIC.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

      // it's a constant. Basically, `paddings` tensor in `SpaceToBatch` and `crops`
      // tensor  in `BatchToSpace` must satisfy the following:
      //  paddings[i, 0] = base_paddings[i, 0].
      //  0 <= paddings[i, 1] - base_paddings[i, 1] < block_shape[i]
      // (input_shape[i] + paddings[i, 0] + paddings[i, 1]) % block_shape[i] == 0.
      //  crops[i, 0] = 0.
      //  crops[i, 1] = paddings[i, 1] - base_paddings[i, 1].
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

                  IsIntList1XY1:$ksize,
                  IsIntList1XY1:$strides,
                  $padding,
                  IsDataFormatNHWC:$format),
              (TFL_AveragePool2DOp $value,
                  /*filter_height=*/ExtractI32At<1>:$ksize,
                  /*filter_width=*/ExtractI32At<2>:$ksize,
                  /*padding=*/$padding,
                  /*stride_h=*/ExtractI32At<1>:$strides,
                  /*stride_w=*/ExtractI32At<2>:$strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        ArrayAttr window_strides, StringRef padding, Builder *builder) {
      if (padding == "VALID") return {};
      assert(padding == "SAME");
      PaddingArray paddings = GetReduceWindowPaddingAsArray<num_dims>(
          input_dims, window_dims, window_strides, padding, builder);
      int64_t rank = paddings.size();
      llvm::SmallVector<int64_t, num_dims * 2> flatten_paddings(rank * 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

      // Calculate paddings.
      int32_t pad_total = kernel_size - 1;
      int32_t pad_beg = (pad_total / 2 + 1) / block_size;
      int32_t pad_end = (pad_total / 2) / block_size;
      SmallVector<int32_t, 8> values = {0,       0,       pad_beg, pad_end,
                                        pad_beg, pad_end, 0,       0};
      auto paddings = DenseIntElementsAttr::get(padding_type, values);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            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
              )
              out = array_ops.pad(out, paddings, 'CONSTANT')
            elif self.same_scale_op == 'reshape':
              out = array_ops.reshape(out, [-1])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        for padding `input`.
    
        The padded size of each dimension D of the output is:
    
          `paddings(D, 0) + input.dim_size(D) + paddings(D, 1)`
    
        For example:
    
        ```
        # 't' is [[1, 1], [2, 2]]
        # 'paddings' is [[1, 1], [2, 2]]
        # rank of 't' is 2
        pad(t, paddings) ==> [[0, 0, 0, 0, 0, 0]
                              [0, 0, 1, 1, 0, 0]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/css/javadoc.css

        clear:left;
        float:left;
        padding:6px;
        text-transform:uppercase;
    }
    .sub-nav .sub-nav-list {
        padding-top:4px;
    }
    ul.nav-list {
        display:block;
        margin:0 25px 0 0;
        padding:0;
    }
    ul.sub-nav-list {
        float:left;
        margin:0 25px 0 0;
        padding:0;
    }
    ul.nav-list li {
        list-style:none;
        float:left;
        padding: 5px 6px;
        text-transform:uppercase;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 14:25:49 UTC 2024
    - 50.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        return failure();
    
      ElementsAttr padding;
      if (matchPattern(op.getPadding(), m_Constant(&padding))) {
        const ShapedType &padding_ty = cast<ShapedType>(padding.getType());
        if (padding_ty.getRank() != 2 || padding_ty.getDimSize(1) != 2) {
          return op.emitOpError()
                 << "expects padding to be a matrix with minor dimension 2, got "
                 << padding.getShapedType().getShape();
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/css/manual.css

    	body.toc2 {
    		padding-left: 20em;
    		padding-right: 0;
    	}
    
    	#toc.toc2 {
    		width: 20em;
    	}
    
    	#toc.toc2 #toctitle {
    		font-size: 1.375em;
    	}
    
    	#toc.toc2>ul {
    		font-size: 0.95em;
    	}
    
    	#toc.toc2 ul ul {
    		padding-left: 1.25em;
    	}
    
    	body.toc2.toc-right {
    		padding-left: 0;
    		padding-right: 20em;
    	}
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top