- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for function_type (0.19 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
// passing the platform index. FunctionType function_type = func_op.getFunctionType(); ArrayRef<Type> new_input_types = function_type.getInputs().take_back(func_op.getNumArguments() - 1); func_op.setFunctionType( FunctionType::get(ctx, new_input_types, function_type.getResults())); func_op.getBody().eraseArgument(0); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
tfr.tensor > tfr.tensor_list > tfr.attr/i32/..., and only one trfr.tensor_list argument is allowed. }]; let arguments = (ins TypeAttrOf<FunctionType>:$function_type, StrAttr:$sym_name, OptionalAttr<DictArrayAttr>:$arg_attrs, OptionalAttr<DictArrayAttr>:$res_attrs ); let results = (outs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
res_types, res_attrs))) return failure(); // Update the function type which has excluded the control args. func->setAttr("function_type", TypeAttr::get(rewriter.getFunctionType( arg_types, res_types))); // Update arg/result attributes. func.setAllArgAttrs(arg_attrs);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
OpBuilder builder(context); FunctionType type; if (passthru_extra_args) { type = FunctionType::get(context, types, types); } else { SmallVector<Type, 4> result_types; auto operands = region.front().getTerminator()->getOperandTypes(); result_types.append(operands.begin(), operands.end()); type = FunctionType::get(context, types, result_types); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
// fully qualified) or a short form with a single type (in which case the data // input and the outputs are all using this type and predicate is tensor<i1> // type). if (mlir::isa<FunctionType>(types.front())) { FunctionType type = mlir::cast<FunctionType>(types.front()); if (type.getNumInputs() < 2) return parser.emitError(parser.getNameLoc()) << " expects a single data type and a predicate";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
CreateUnknownShapeFromElementType(input_val.getType()); UnrankedTensorType create_unknown_output_shape = CreateUnknownShapeFromElementType(result_type); FunctionType func_type = FunctionType::get(rewriter.getContext(), {create_unknown_input_shape}, {create_unknown_output_shape}); func::FuncOp quantization_func =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/symbolDeclarationRenderer/FirIdeDependentAnalysisSourceModuleRendererTestGenerated.java
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt"); } @Test @TestMetadata("functionTypes.kt") public void testFunctionTypes() { runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt"); } @Test @TestMetadata("functionalTypeAliases.kt") public void testFunctionalTypeAliases() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 07:21:33 UTC 2024 - 10.1K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/symbolDeclarationRenderer/FirIdeNormalAnalysisSourceModuleRendererTestGenerated.java
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt"); } @Test @TestMetadata("functionTypes.kt") public void testFunctionTypes() { runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt"); } @Test @TestMetadata("functionalTypeAliases.kt") public void testFunctionalTypeAliases() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 07:21:33 UTC 2024 - 10.1K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/symbolDeclarationRenderer/FirStandaloneNormalAnalysisSourceModuleRendererTestGenerated.java
runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/F.kt"); } @Test @TestMetadata("functionTypes.kt") public void testFunctionTypes() { runTest("analysis/analysis-api/testData/components/symbolDeclarationRenderer/renderDeclaration/functionTypes.kt"); } @Test @TestMetadata("functionalTypeAliases.kt") public void testFunctionalTypeAliases() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 07:21:33 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc
ShapedType chaining_data_type) { for (int i = 0; i < num_resources; ++i) { func.getRegion().addArgument(chaining_data_type, func.getLoc()); } FunctionType ftype = FunctionType::get(func.getContext(), func.getBody().getArgumentTypes(), func.getFunctionType().getResults()); func.setType(ftype); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0)