Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,107 for gotType (0.22 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

                replaceExpr(expr.getArguments()));
            result.setType(expr.getType());
            result.setSourcePosition(expr);
            replaceVisitedExpressionWith(result);
        }
    
        @Override
        public void visitConstructorCallExpression(ConstructorCallExpression expr) {
            ConstructorCallExpression result = new ConstructorCallExpression(
                expr.getType(),
                replaceExpr(expr.getArguments()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

      auto &chain = chain_and_allocator[0];
      auto &allocator = chain_and_allocator[1];
    
      if (parser.resolveOperand(chain, builder.getType<compiler::ChainType>(),
                                result.operands))
        return mlir::failure();
    
      if (parser.resolveOperand(allocator,
                                builder.getType<fallback::TFAllocatorType>(),
                                result.operands))
        return mlir::failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      return cast_op && IsIllegalType(cast_op.getX().getType()) &&
             ToLegalType(cast_op.getX().getType()) == cast_op.getY().getType();
    }
    
    bool IsIntToQintCast(Operation *op) {
      auto cast_op = llvm::dyn_cast<TF::CastOp>(op);
      return cast_op && IsIllegalType(cast_op.getY().getType()) &&
             ToLegalType(cast_op.getY().getType()) == cast_op.getX().getType();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

        private static final Type LONG_TYPE = getType(Long.class);
        private static final Type BOOLEAN_TYPE = getType(Boolean.class);
        public static final Type PROPERTIES_TYPE = getType(Properties.class);
        private static final Type BYTECODE_INTERCEPTOR_FILTER_TYPE = Type.getType(BytecodeInterceptorFilter.class);
    
        private static final String RETURN_STRING_FROM_STRING = getMethodDescriptor(STRING_TYPE, STRING_TYPE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) {
          return false;
        }
        if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() &&
            !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) {
          auto dnums = conv_op.getDimensionNumbers();
          auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/optimize.td

      "static_cast<int32_t>($0.getType().cast<RankedTensorType>().getDimSize(  "
      "  $0.getType().cast<RankedTensorType>().getRank() - 1)))">;
    
    // Check whether the tensor is ranked and whether its last dim is static.
    def IsRankedShapeLastDimStatic : Constraint<And<[
      CPred<"$0.getType().isa<RankedTensorType>()">,
      CPred<"!$0.getType().cast<ShapedType>().isDynamicDim( "
      "  $0.getType().cast<RankedTensorType>().getRank() - 1)">]>>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 22 07:31:23 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

          Operation* load = builder.create<mlir::ml_program::GlobalLoadOp>(
              op.getLoc(), globalOp.getType(),
              SymbolRefAttr::get(op->getContext(), globalOp.getSymName()));
          if (globalOp.getType() != op.getValue().getType()) {
            load = builder.create<TF::CastOp>(op.getLoc(), op.getValue().getType(),
                                              load->getResult(0));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/utils.td

      "TFL::IsTransposeTrivial($0.getType().cast<ShapedType>().getShape(), $1)">>;
    
    // Constraint that checks if the reshape op is equivalent to a transpose op.
    // This is true if the reshape op is a trivial reshape op, meaning no change in
    // the order of non-identity dimensions.
    def IsReshapeEquivalentToTranspose : Constraint<CPred<
      "TFL::IsReshapeEquivalentToTranspose("
        "$0.getType().cast<ShapedType>(),"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.cc

      if ((op->getNumOperands() != 2 && op->getNumOperands() != 3) ||
          op->getResultTypes().size() != 1) {
        return false;
      }
      Type lhs_type = op->getOperand(0).getType();
      Type rhs_type = op->getOperand(1).getType();
      Type result_type = op->getResult(0).getType();
      return !IsQuantizedTensorType(lhs_type) && IsQuantizedTensorType(rhs_type) &&
             !IsQuantizedTensorType(result_type);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(1).getType()));
    
      // input layer norm
      EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(20).getType()));
      EXPECT_EQ(mlir::cast<RankedTensorType>(it->getOperand(20).getType())
                    .getShape()
                    .size(),
                1);
      EXPECT_EQ(
          mlir::cast<RankedTensorType>(it->getOperand(20).getType()).getDimSize(0),
          3);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top