Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for elemEnds (0.42 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    ElementsAttr ExpandTo4DForConvImpl(Attribute a, bool is_depthwise) {
      auto elements = mlir::dyn_cast<DenseElementsAttr>(a);
      auto shape = elements.getType().getShape();
      if (!shape.empty()) {
        // Checks that elements are essentially 1d.
        assert(elements.getNumElements() == shape.back());
      }
      std::vector<int64_t> shape_data = {1, 1, 1, 1};
      const int vector_length = elements.getNumElements();
      if (is_depthwise)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          return error_handler(
              llvm::formatv("requires 'tensor' number of elements be a multiple of "
                            "{0}, but got {1}",
                            shape_ty_size, tensor_ty_size));
    
        // Set the unknown dimension such that total number of elements remain
        // constant.
        output_ty_shape[unknown_index] = missing_dim;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    }
    
    // Returns true if it is a shaped type of f32 elements.
    inline bool IsF32ShapedType(Type t) {
      if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) {
        return shaped_type.getElementType().isF32();
      }
      return false;
    }
    
    // Returns true if it is a shaped type of bf16 elements.
    inline bool IsBF16ShapedType(Type t) {
      if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let description = [{
    This operation returns the coordinates of true elements in `condition`. The
    coordinates are returned in a 2-D tensor where the first dimension (rows)
    represents the number of true elements, and the second dimension (columns)
    represents the coordinates of the true elements. Keep in mind, the shape of
    the output tensor can vary depending on how many true values there are in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </pre>
    
    <p>
    The length of an array literal is the length specified in the literal type.
    If fewer elements than the length are provided in the literal, the missing
    elements are set to the zero value for the array element type.
    It is an error to provide elements with index values outside the index range
    of the array. The notation <code>...</code> specifies an array length equal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        /**
         * A queue of elements currently in the map, ordered by write time. Elements are added to the
         * tail of the queue on write.
         */
        @GuardedBy("this")
        final Queue<ReferenceEntry<K, V>> writeQueue;
    
        /**
         * A queue of elements currently in the map, ordered by access time. Elements are added to the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/tables.go

    // altLangIndex is used to convert indexes in altLangISO3 to langIDs.
    // Size: 12 bytes, 6 elements
    var altLangIndex = [6]uint16{
    	0x0281, 0x0407, 0x01fb, 0x03e5, 0x013e, 0x0208,
    }
    
    // AliasMap maps langIDs to their suggested replacements.
    // Size: 772 bytes, 193 elements
    var AliasMap = [193]FromTo{
    	0:   {From: 0x82, To: 0x88},
    	1:   {From: 0x187, To: 0x1ae},
    	2:   {From: 0x1f3, To: 0x1e1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 153K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    /// elements of any allowed type: float or complex), rewrite the op to the
    /// divisor if all the elements of the divisor are zero and to tf.Div if all the
    /// elements of the divisor are non-zero.
    
    /// Similarly, if the op is tf.MulNoNan and the multiplier is a constant tensor
    /// (with all the elements of any allowed type: float or complex), rewrite the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        /**
         * A queue of elements currently in the map, ordered by write time. Elements are added to the
         * tail of the queue on write.
         */
        @GuardedBy("this")
        final Queue<ReferenceEntry<K, V>> writeQueue;
    
        /**
         * A queue of elements currently in the map, ordered by access time. Elements are added to the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    // -----
    // tf.Reshape with incorrect element number.
    func.func @testReshape(%arg0: tensor<10x10x10xf32>, %shape1: tensor<2xi32>) -> tensor<100x100xf32> {
      // expected-error @+1 {{requires 'output' number of elements to match 'tensor' number of elements, but got 10000 and 1000}}
      %r1 = "tf.Reshape" (%arg0, %shape1) : (tensor<10x10x10xf32>, tensor<2xi32>) -> tensor<100x100xf32>
      func.return %r1 : tensor<100x100xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top