Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for elemEnds (0.24 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. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      return nullptr;
    }
    
    // Follow the use chain of TensorList and return true iff all elements written
    // to TensorList have same static shape. If all elements have same shape, assign
    // it to `potential_element_type`.
    //
    // This can handle multiple mutations of a TensorList object and would return
    // true if across all mutations the elements written have the same shape.
    bool CanInferTensorListElementType(Value tensorlist,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

        }
        return ImmutableEnumMap.asImmutable(enumMap);
      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements. The
       * resulting implementation is specialized for enum key types. The returned map and its views will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

        }
        return ImmutableEnumMap.asImmutable(enumMap);
      }
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements. The
       * resulting implementation is specialized for enum key types. The returned map and its views will
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
Back to top