Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 675 for ucast (0.22 sec)

  1. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultMBeanAttributeProvider.java

        @Override
        public <T> T getMbeanAttribute(String mbean, final String attribute, Class<T> type) {
            Exception rootCause;
            try {
                ObjectName objectName = new ObjectName(mbean);
                return Cast.cast(type, ManagementFactory.getPlatformMBeanServer().getAttribute(objectName, attribute));
            } catch (InstanceNotFoundException e) {
                rootCause = e;
            } catch (ReflectionException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 21:48:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

          // Expand/Squeeze op must come in pair.
          return rewriter.notifyMatchFailure(
              op, "ExpandDimsOp and SqueezeOp should come in pair");
        }
        expand_op = llvm::cast<TF::ExpandDimsOp>(producer_op);
        squeeze_op = llvm::cast<TF::SqueezeOp>(consumer_op);
        if (!expand_op.getResult().hasOneUse()) {
          return rewriter.notifyMatchFailure(
              expand_op, "result for current op has more than 1 use");
        }
    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/flatbuffer_export.cc

                               array[i].cast<mlir::StringAttr>().getValue().str());
        } else if (llvm::isa<mlir::vhlo::BooleanV1Attr>(array[i])) {
          flex_builder->Bool(name.c_str(),
                             array[i].cast<mlir::vhlo::BooleanV1Attr>().getValue());
        } else if (llvm::isa<mlir::vhlo::StringV1Attr>(array[i])) {
          flex_builder->String(
              name.c_str(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

          /*effective_hidden_scale_intermediate=*/mlir::TypeAttr());
    
      // Cast the static shaped lstm result to FuncOp's signature -
      // Ranked but unknown 2nd dimension to support stacking these.
      SmallVector<int64_t, 2> func_output_shape = {1, tensorflow::kTFDynamicSize};
      auto func_result_type = tensorflow::GetTypeFromTFTensorShape(
          func_output_shape,
          mlir::cast<RankedTensorType>(input_.getType()).getElementType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

      CPred<"quant::ReshapableTo1DTensor($0.getType().cast<ShapedType>())">,
      "Checks if the value dims are all ones except the right most dim">;
    
    def ReshapeTo1DTensor : NativeCodeCall<
      "quant::ReshapeTo1DTensor($_builder, $_loc, $0)">;
    
    def HasEqualShape : Constraint<CPred<
      "$0.getType().cast<ShapedType>().hasRank() && "
      "$1.getType().cast<ShapedType>().hasRank() && "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

    LogicalResult VerifyTensorTypesCompatible(Type t1, Type t2) {
      if (!mlir::isa<TensorType>(t1) || !mlir::isa<TensorType>(t2)) {
        return failure();
      }
      return verifyCompatibleShape(mlir::cast<TensorType>(t1),
                                   mlir::cast<TensorType>(t2));
    }
    
    LogicalResult GlobalTensorOp::verify() {
      GlobalTensorOp global_tensor = *this;
      if (global_tensor.getValue()) {
        if (failed(VerifyTensorTypesCompatible(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      }
    
      // Get the tensor types.
      const auto input_type = input_tensor.getType().cast<ShapedType>();
      const auto weights_type = weights_tensor.getType().cast<ShapedType>();
      const auto bias_type =
          has_bias ? bias_tensor.getType().cast<ShapedType>() : ShapedType{};
    
      const auto output_type = getType(0).cast<ShapedType>();
    
      // Folding only implemented for float tensors.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ServiceReferencePropertyAnnotationHandler.java

                TypeToken<?> declaredType = propertyMetadata.getDeclaredType();
                Class<?> serviceType = Cast.uncheckedCast(((ParameterizedType) declaredType.getType()).getActualTypeArguments()[0]);
                visitor.visitServiceReference(propertyName, propertyMetadata.isAnnotationPresent(Optional.class), value, serviceName, Cast.uncheckedCast(serviceType));
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, true));
            } else {
                return null;
            }
        }
    
        @Override
        public <T> ModelView<? extends T> asImmutable(ModelType<T> type, MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor) {
            if (canBeViewedAs(type)) {
                return Cast.uncheckedCast(toView(modelNode, ruleDescriptor, false));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

      "SliceDenseIntElementsAttrColumn2D($0.cast<ElementsAttr>(), " # column # " )">;
    
    class SliceDenseIntElementsAttr<string index, string axis> : NativeCodeCall<
      "SliceDenseIntElementsAttr($0.cast<ElementsAttr>(), " # index # ", " # axis # ")">;
    
    // Interior padding attribute based on the TF padding.
    def GetInteriorPadding : NativeCodeCall <
      "GetInteriorPadding($0.cast<ElementsAttr>())">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top