- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,148 for getDtype (0.46 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
if (body_arg.getType() == while_operand.getType()) body_arg.replaceAllUsesWith(while_operand); if (cond_arg.getType() == while_operand.getType()) cond_arg.replaceAllUsesWith(while_operand); auto result = while_op.getResult(op_idx); if (result.getType() == while_operand.getType()) result.replaceAllUsesWith(while_operand); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java
result.setType(expr.getType()); result.setSourcePosition(expr); replaceVisitedExpressionWith(result); } @Override public void visitNotExpression(NotExpression expr) { NotExpression result = new NotExpression( replaceExpr(expr.getExpression())); result.setType(expr.getType()); result.setSourcePosition(expr);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 16.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td
CPred<"$0.getType() == $1.getType()">>; // Checks if the given two values are the same. def AreTheSameValue : Constraint< CPred<"$0 == $1">>; // Checks if the value has rank. def HasRank : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank()">>; // Checks if the value has rank of `n`. class HasRankOf<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 04:55:44 UTC 2024 - 6.7K bytes - Viewed (0) -
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)