- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 165 for onStop (0.33 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// ConstOp //===----------------------------------------------------------------------===// OpFoldResult ConstOp::fold(FoldAdaptor adaptor) { auto operands = adaptor.getOperands(); (void)operands; assert(operands.empty() && "constant has no operands"); // Return the held attribute value. return getValue(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
namespace mlir { namespace TF { namespace { // Creates ConstOp for int32_t value. ConstOp createI32ConstOp(int32_t value, Location loc, PatternRewriter* rewriter) { auto int_attr = IntegerAttr::get(rewriter->getIntegerType(32), value); return rewriter->create<ConstOp>(loc, int_attr); } // Creates ConstantOp for array of int32_t.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
} // Parses an R1 value to `shape` if it is a TF::ConstOp output. Otherwise, // returns an error. LogicalResult GetConstShapeValue(Value shape_value, llvm::SmallVector<int64_t, 8>* shape) { auto shape_op = shape_value.getDefiningOp(); if (!shape_op) return failure(); auto shape_const_op = llvm::dyn_cast<TF::ConstOp>(shape_op); if (!shape_const_op) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// converted to an ElementsAttr and then those are packed together using // tf.Pack op. struct ConvertConst : public OpConversionPattern<TF::ConstOp> { using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite( TF::ConstOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override { // Verify that the tensor proto contains tensor of type variant and scalar
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionApplicationHandler.kt
with(ConventionTransformer(resolutionResult.topLevelReceiver)) { // For the referenced software types, add their conventions as operations mapped onto the top-level receiver val conventionAssignments = applyAssignmentConventions(referencedSoftwareTypes) val conventionAdditions = applyAdditionConventions(referencedSoftwareTypes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:38 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
"CreateInt32ConstOrCast($0, $_loc, $_builder)">; // Creates an int32 constant op from an integer attribute $0. def CreateInt32ConstOpFromIntAttr : NativeCodeCall<"$_builder.create<TF::ConstOp>($_loc, DenseElementsAttr::get(RankedTensorType::get({}, $_builder.getI32Type()), {static_cast<int32_t>($0.cast<IntegerAttr>().getInt())}))">; //===----------------------------------------------------------------------===//
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
manifests/charts/istio-cni/values.yaml
# Note this gives the DaemonSet a relatively high privilege, as modifying pod metadata/status can have wider impacts. labelPods: false # deletePods will delete any broken pod. These will then be rescheduled, hopefully onto a node that is fully ready. # Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod. deletePods: false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
// reduce_fn call. WhileRegionOp CreateDatasetWhile(OpBuilder builder, ReduceDatasetOp reduce_dataset) { auto const_true = builder.create<TF::ConstOp>( reduce_dataset.getLoc(), DenseIntElementsAttr::get( RankedTensorType::get(/*shape=*/{}, builder.getI1Type()), true)); SmallVector<Value, 4> while_input_values;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
if (tfl::IsQuantized(tensor)) { auto op = builder.create<tfl::QConstOp>( loc, mlir::TypeAttr::get(shaped_type), value); return op.getOperation(); } auto op = builder.create<tfl::ConstOp>(loc, value); op->setAttr("tfl.is_variable", builder.getUnitAttr()); if (tensor.quantization && !tensor.quantization->min.empty()) { if (auto stats_op =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
mlir::RankedTensorType::get({}, builder->getIntegerType(32)); auto split_dimension_attr = mlir::DenseElementsAttr::get(split_dim_type, split_dimension); auto split_dimension_op = builder->create<mlir::TF::ConstOp>( location, split_dim_type, split_dimension_attr); // Correctly set output shapes of split op output if input shape is statically // known. mlir::Type output_type;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0)