- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for return_values (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// Function return values are all the terminator operands + pass through // extern values (if enabled). auto return_values = llvm::to_vector<4>(terminator->getOperands()); if (only_one_return_value) { return_values.resize(1); } if (extern_values_passthrough) return_values.insert(return_values.end(), first_block.args_begin() + num_region_arguments,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
llvm::SetVector<Value> return_values; llvm::SmallVector<Type> return_types; for (Operation *op : cluster.operations) for (OpOperand &use : op->getUses()) { // User is inside the cluster. if (in_cluster.contains(use.getOwner())) continue; // Do not return the same value multiple times. if (return_values.contains(use.get())) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
} for (Operation* op : cloning_ops) { builder.clone(*op, mapping); } SmallVector<Value> return_values; for (Value result : results) { return_values.push_back(mapping.lookupOrNull(result)); } builder.create<func::ReturnOp>(location, return_values); // Create a function call to the newly created function. StringAttr new_func_name =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
tensorflow::XlaExpression::CastExpressionFromTensor(*output); output_values.push_back(expr->AsXlaOp(&xla_builder_)); } absl::Span<const xla::XlaOp> return_values(output_values); xla::XlaOp root_value = xla::Tuple(&xla_builder_, return_values); TF_ASSIGN_OR_RETURN(XlaComputation computation, xla_builder_.Build(root_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
custom_legalization_passes)); xla::XlaOp return_value; if (returns.size() == 1) return_value = returns[0]; else return_value = xla::Tuple(&builder, returns); TF_ASSIGN_OR_RETURN( xla::XlaComputation computation, return_value.valid() ? builder.Build(return_value) : builder.Build()); auto hlo_module = computation.proto(); xla::HloProto hlo_proto;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java
useMapping = false; } if (useMapping) { returnValue = Cast.uncheckedNonnullCast(_mappings.get(propertyName).getValue(_convention, _source)); } } return returnValue; } @Deprecated @Override public org.gradle.api.plugins.Convention getConvention() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy
"binaryTypeBuilder" | "A method annotated with @ComponentType must have a single parameter of type ${TypeBuilder.name}." | "wrong builder type" "returnValue" | "A method annotated with @ComponentType must have void return type." | "method with return type"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationRunner.java
private T returnValue; @Override public void execute(CallableBuildOperation<T> buildOperation, BuildOperationContext context) throws Exception { returnValue = buildOperation.call(context); } public T getReturnValue() { return returnValue; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:33:49 UTC 2024 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) { Assert.assertTrue( factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); } return returnValue; } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0)