- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for input_type (0.23 sec)
-
tensorflow/c/kernels_experimental.cc
tensorflow::Var** maybe_resource) { auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx); *maybe_resource = nullptr; if (cc_ctx->input_dtype(input) == tensorflow::DT_RESOURCE) { if (LookupResource(cc_ctx, HandleFromInput(cc_ctx, input), maybe_resource) .ok()) { return (*maybe_resource)->mu(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
if (!init_func) continue; auto init_type = init_func->getAttrOfType<StringAttr>(kTfSavedModelInitializerTypeAttr); if (!init_type) continue; if (init_types.contains(init_type)) { return init_func->emitError() << "Attribute tf_saved_model.initializer_type should not have " "duplicate values. Found duplicate: " << init_type; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
// Do not create any new function for the operations on the localhost. if (IsOnLocalHost(host)) continue; llvm::SmallVector<mlir::Type, 4> input_types; llvm::SmallVector<mlir::Type, 4> result_types; for (Value input : metadata.inputs) { input_types.push_back(input.getType()); } for (Value result : metadata.results) { result_types.push_back(result.getType()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
// attaching a to the initializer function's type so that it is identifiable. Location CreateInitOpLoc(MLIRContext* ctx, func::FuncOp init_func_ops) { const std::string init_type = GetInitializerType(init_func_ops); const std::string name = absl::StrCat(init_type, "_", init_func_ops.getName().str()); return NameLoc::get(StringAttr::get(ctx, name)); } void MergeInitializerFunctionOpsToMainPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
absl::StatusOr<ElementsAttr> ConvertTensor(const Tensor& input_tensor, Builder* builder) { const auto& input_dtype = input_tensor.dtype(); const auto& input_shape = input_tensor.shape(); Type elt_type; TF_RETURN_IF_ERROR(ConvertDataType(input_dtype, *builder, &elt_type)); SmallVector<int64_t, 4> shape; ConvertToMlirShape(input_shape, &shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
return GraphdefToSplattedMlirTranslateFunction( file->getBuffer(), input_arrays, input_dtypes, input_shapes, output_arrays, control_output_arrays, graphdef_conversion_options, context); } return GraphdefToMlirTranslateFunction(file->getBuffer(), input_arrays, input_dtypes, input_shapes, output_arrays, control_output_arrays,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// Build the function type. Region arguments and extern values together // become the function arguments, with region arguments going first. auto input_types = llvm::to_vector<4>(entry.getArgumentTypes()); for (auto input : extern_values) input_types.push_back(input.getType()); // Terminator operands and pass through extern values (if enabled) together // become the function return values.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy
} static String convertingValueSourceImpl(String valueSourceClassName, String inputType, String returnType, String conversion) { """ abstract class $valueSourceClassName implements ${ValueSource.name}<$returnType, Params> { interface Params extends ${ValueSourceParameters.name} { Property<$inputType> getInput() } @Override $returnType obtain() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 11:47:23 UTC 2024 - 29.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy
given: buildFile << """ abstract class TaskWithResultInput extends DefaultTask { @Input abstract ListProperty<${inputType}> getInput() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void action() { println(input.get()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 26.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java
private static final String RETURN_BOOLEAN = getMethodDescriptor(Type.BOOLEAN_TYPE); private static final String RETURN_OBJECT = getMethodDescriptor(OBJECT); private static final String RETURN_INT = getMethodDescriptor(Type.INT_TYPE); private static final String RETURN_VOID_FROM_STRING = getMethodDescriptor(Type.VOID_TYPE, STRING); private static final String RETURN_OBJECT_FROM_STRING = getMethodDescriptor(OBJECT, STRING);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 11.8K bytes - Viewed (0)