Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,148 for getDtype (4.44 sec)

  1. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java

        private static final String BOXED_BYTE_TYPE = getType(Byte.class).getInternalName();
        private static final String BOXED_SHORT_TYPE = getType(Short.class).getInternalName();
        private static final String BOXED_INT_TYPE = getType(Integer.class).getInternalName();
        private static final String BOXED_LONG_TYPE = getType(Long.class).getInternalName();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    // matches the expected type otherwise an error should be thrown, but for now
    // we're just returning empty vector
    template <>
    inline std::vector<bool> GetVector(DenseElementsAttr elements) {
      auto type = elements.getType();
      auto elemType = type.getElementType();
      if (elemType.isSignlessInteger(1)) {
        auto vec = llvm::to_vector(
            llvm::map_range(elements.getValues<bool>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          for (auto operand : candidate_op->getOperands()) {
            Type operand_type = operand.getType();
            if (mlir::isa<NoneType>(operand_type)) {
              inputs.push_back(operand);
              continue;
            }
    
            auto ele_type =
                mlir::cast<TensorType>(operand.getType()).getElementType();
            if (auto dq_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

        if (!mlir::isa<quant::UniformQuantizedType>(
                (getElementTypeOrSelf(op.getOutput().getType()))))
          return failure();
    
        ElementsAttr input_tensor = qconst_op.getValue();
    
        assert(perm_tensor.getType().getRank() == 1);
        const int num_dimensions = input_tensor.getShapedType().getRank();
        assert(perm_tensor.getType().getNumElements() == num_dimensions);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java

                        _INVOKESTATIC(getType(InstrumentedGroovyMetaClassHelper.class).getInternalName(), "addInvocationHooksInClosureDispatchObject", descriptor, false);
    
                        _ALOAD(0);
                        _ALOAD(1);
                        _INVOKESPECIAL(getType(Closure.class).getInternalName(), "setDelegate", "(Ljava/lang/Object;)V", false);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

        // we have separate ops for them. If only one of them is used then the other
        // one will be garbage collected later.
        if (!mlir::isa<ShapedType>(operand.getType())) return failure();
        auto operand_type = mlir::cast<ShapedType>(operand.getType());
        if (operand_type.getElementType().isInteger(1)) {
          // TF does not support min or max on boolean (int1) arguments.
          // Use AnyOp for MaxOp and AllOp for MinOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.td

        BuildableType<"$_builder.getType<::mlrt::compiler::FutureType>()"> {
      let description = [{
        `!mlrt.future type` represents a C++ mlrt::Future.
      }];
    }
    
    def MlrtPromiseType : DialectType<Mlrt_Dialect,
        CPred<"$_self.isa<::mlrt::compiler::PromiseType>()">, "!mlrt.promise type">,
        BuildableType<"$_builder.getType<::mlrt::compiler::PromiseType>()"> {
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      for (OpOperand& operand : op.getOpOperands()) {
        if (mlir::isa<TF::ResourceType>(
                getElementTypeOrSelf(operand.get().getType()))) {
          return op.emitOpError()
                 << "found unexpected type " << operand.get().getType()
                 << " of operand #" << operand.getOperandNumber()
                 << ", resource type operands are expected to have been "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/asm/ClassDependenciesVisitor.java

                maybeAddDependentType(types, Type.getType(descriptor));
                return new AnnotationVisitor(types);
            }
    
            @Override
            public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) {
                maybeAddDependentType(types, Type.getType(descriptor));
                return new AnnotationVisitor(types);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:49:15 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/post_quantize.cc

          if (const QuantizedType qtype =
                  QuantizedType::getQuantizedElementType(q.getArg().getType())) {
            rewriter.setInsertionPoint(op);
            rewriter.replaceOpWithNewOp<quantfork::DequantizeCastOp>(
                op, op.getResult().getType(), q.getArg());
            return success();
          }
    
          op.replaceAllUsesWith(q.getArg());
          return success();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top