Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 675 for ucast (0.05 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

            return type;
        }
    
        @Override
        public void setFromAnyValue(Object object) {
            if (object instanceof Provider) {
                set(Cast.<Provider<T>>uncheckedNonnullCast(object));
            } else {
                set(Cast.<T>uncheckedNonnullCast(object));
            }
        }
    
        @Override
        public void set(@Nullable T value) {
            if (value == null) {
                discardValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSmartCastProvider.kt

         * smart-casts:
         *
         * ```kt
         * if (this is String) {
         *   this.substring() // 'this' receiver is explicit, so no implicit smart-cast here.
         *
         *   smartcast() // 'this' receiver is implicit, therefore there is implicit smart-cast involved.
         * }
         * ```
         */
        public fun KtExpression.getImplicitReceiverSmartCast(): Collection<KaImplicitReceiverSmartCast> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      const auto gemm_style_op_result_type =
          mlir::cast<RankedTensorType>(gemm_style_op_result.getType());
      const ArrayRef<int64_t> gemm_style_shape =
          gemm_style_op_result_type.getShape();
    
      Type accumulation_quantized_element_type;
      TensorType new_gemm_style_op_result_type;
    
      const double input_scale =
          mlir::cast<UniformQuantizedType>(getElementTypeOrSelf(input_type))
              .getScale();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc.inc"
          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc.inc"
          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

    import static org.apache.maven.internal.impl.Utils.cast;
    
    public interface InternalSession extends Session {
    
        static InternalSession from(Session session) {
            return cast(InternalSession.class, session, "session should be an " + InternalSession.class);
        }
    
        static InternalSession from(org.eclipse.aether.RepositorySystemSession session) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:55:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/AttributeDesugaring.java

                    Object value = key.getAttribute(attribute);
                    Attribute<Object> desugared = Cast.uncheckedCast(attribute);
                    if (attribute.getType() == Boolean.class || attribute.getType() == String.class) {
                        mutable.attribute(desugared, value);
                    } else {
                        desugared = Cast.uncheckedCast(Attribute.of(attribute.getName(), String.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractor.java

            @Override
            protected void execute(ModelRuleInvoker<?> invoker, final T binary, List<ModelView<?>> inputs) {
                NamedEntityInstantiator<Task> taskFactory = Cast.uncheckedCast(ModelViews.getInstance(inputs.get(0), TASK_FACTORY));
                ModelMap<Task> cast = DomainObjectCollectionBackedModelMap.wrap(
                        "tasks",
                        Task.class,
                        binary.getTasks(),
                        taskFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    }  // namespace
    
    Value GatherElements(Value indices, Value buffer, OpBuilder builder,
                         Location loc) {
      auto buffer_type = mlir::cast<RankedTensorType>(buffer.getType());
      auto result_shape = llvm::to_vector<8>(buffer_type.getShape());
      result_shape[0] =
          mlir::cast<RankedTensorType>(indices.getType()).getDimSize(0);
      int64_t maybe_contiguous_start = GetFirstIfIndicesAreContiguous(indices);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      ShapedType type;
      InspectResult result = {};
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else if (auto cst = dyn_cast<QConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else {
        result.can_compress = false;
        return result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top