- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for function_type (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 21:23:47 UTC 2024 - 2.9K bytes - Viewed (0) -
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/lite/experimental/common/outline_operations.cc
TypesFromValues(subgraph.FuncOutputs()); FunctionType function_type = builder.getFunctionType(input_types, return_types); std::string function_name = absl::StrCat("func_", subgraph.subgraph_id_); func::FuncOp new_func = func::FuncOp::create(builder.getUnknownLoc(), function_name, function_type); new_func.setVisibility(func::FuncOp::Visibility::Private);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/switchn.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 14:25:57 UTC 2022 - 4K 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) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractFunctionClassKindTest.kt
val (type, functionClassKind) = executeOnPooledThreadInReadAction { analyseForTest(expressionAtCaret) { val functionType = expressionAtCaret.getExpectedType() functionType?.render(position = Variance.INVARIANT) to functionType?.functionTypeKind } } val actual = buildString { appendLine("expression: ${expressionAtCaret.text}")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Mar 27 16:04:54 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/types.cc
void init_types(py::module& m) { // Type py::class_<mlir::Type> Type(m, "Type"); // Type Sub-classes py::class_<mlir::FunctionType, mlir::Type>(m, "FunctionType") .def("getResults", [](mlir::FunctionType& ft) { return ft.getResults().vec(); }); py::class_<mlir::FloatType, mlir::Type>(m, "FloatType") .def("getBF16", &mlir::FloatType::getBF16)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 12 08:42:26 UTC 2021 - 2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy
then: outputContains("project name = root") outputContains("project name = a") outputContains("project name = b") } def "lifecycle actions in Groovy DSL allow using #functionType function defined in a class"() { createDirs("a", "b") settingsFile << """ rootProject.name = "root" include("a", "b") class Helper {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
class FuncOp: def __init__(self, *args, **kwargs) -> None: ... def create(self, arg0: str, arg1: FunctionType) -> FuncOp: ... def getArguments(self) -> list[BlockArgument]: ... def getBody(self) -> Region: ... def getName(self) -> str: ... def getType(self) -> FunctionType: ... class FunctionType(Type): def __init__(self, *args, **kwargs) -> None: ... def getResults(self) -> list[Type]: ...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K bytes - Viewed (0)