- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getRank (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
<< " with broadcast_dims = " << broadcast_dims; return nullptr; } auto larger_broadcast_dims = GetI64ElementsAttrForSeq(0, result_type.getRank(), &builder); if (x_type.getRank() < y_type.getRank()) { if (x_type != result_type) { x = builder.create<BroadcastInDimOp>(loc, result_type, x, broadcast_dims); } if (y_type != result_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
return lhs.hasRank() && rhs.hasRank() && lhs.getRank() == rhs.getRank(); } // Creates a compatible RankedTensorType where mismatched dimensions are // replaced with dynamic sizes. RankedTensorType GetCompatibleRankedTensorType(RankedTensorType lhs, RankedTensorType rhs) { assert(lhs.getRank() == rhs.getRank()); llvm::SmallVector<int64_t, 4> dims;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
//===----------------------------------------------------------------------===// def GetBiasAddGradReductionIndices : NativeCodeCall< "GetBiasAddGradReductionIndices(" "$0.getType().cast<RankedTensorType>().getRank(), $1, &$_builder)">; def LowerBiasAddGradOp : Pat<(TF_BiasAddGradOp AnyRankedTensor:$out_backprop, $data_format), (TF_SumOp $out_backprop, (TF_ConstOp (GetBiasAddGradReductionIndices $out_backprop,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
").getType().cast<ShapedType>().getRank() >= " # m>]>>; class TFL_OperandHasRankRange<int n, int x, int y> : PredOpTrait<"operand " # n # " has rank range [" # x # ", " # y # "]", Or<[TFL_OperandIsUnrankedPred<n>, CPred<"$_op.getOperand(" # n # ").getType().cast<ShapedType>().getRank() " ">= " # x # " && $_op.getOperand(" # n # ").getType().cast<ShapedType>()." "getRank() <= " # y>]>>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
(TFL_TopKV2Op $input, $k)>; def ReductionDimensionIsLastDim : Constraint<CPred<"($0.cast<IntegerAttr>().getInt() == " "$1.getType().cast<ShapedType>().getRank() - 1 || $0.cast<IntegerAttr>().getInt() == -1)">>; // Legalizes TF_ApproxTopKOp to TFL_TopKV2Op with the following constraints: // 1. It computes max k // 2. The reduction dimension is the last dim of the input.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// the first `TensorListSetItemOp`. if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) { if (shaped_type.hasRank() && shaped_type.getRank() == 0) { bool element_shape_acquired = false; auto uses = op.getResult().getUses(); for (auto &use : llvm::make_early_inc_range(uses)) { if (TF::TensorListSetItemOp set_op =
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/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JdkJavaCompiler.java
JavaFileManager fileManager = GradleStandardJavaFileManager.wrap(standardFileManager, DefaultClassPath.of(spec.getAnnotationProcessorPath()), hasEmptySourcepaths); JavaCompiler.CompilationTask task = compiler.getTask(null, fileManager, diagnosticToProblemListener, options, spec.getClassesToProcess(), compilationUnits, context); if (compiler instanceof IncrementalCompilationAwareJavaCompiler) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 14:50:33 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
// source. if (auto next_iter_source = llvm::dyn_cast<mlir::tf_executor::NextIterationSourceOp>( input_inst)) input_inst = next_iter_source.GetSink(); auto node_it = nodes_.find(input_inst); TF_RET_CHECK(node_it != nodes_.end()) << "Use of OpResult encountered before def!"; if (mlir::isa<mlir::tf_executor::ControlType>(input_result.getType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt
} override fun relativeProjectPath(path: String): String { return delegate.relativeProjectPath(path) } override fun getAnt(): AntBuilder { onAccess("ant") return delegate.ant } override fun createAntBuilder(): AntBuilder { onAccess("antBuilder")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 41.1K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt
Method <org.gradle.api.tasks.SourceSetOutput.getResourcesDir()> does not have raw return type assignable to org.gradle.api.provider.Property in (SourceSetOutput.java:0) Method <org.gradle.api.tasks.TaskExecutionException.getTask()> does not have raw return type assignable to org.gradle.api.provider.Provider in (TaskExecutionException.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 160.5K bytes - Viewed (0)