- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for FunctionType (0.17 sec)
-
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) -
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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.4K 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) -
tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc
Operation* terminator = func.front().getTerminator(); auto return_types = llvm::to_vector<4>(terminator->getOperandTypes()); FunctionType func_type = func.getFunctionType(); if (llvm::ArrayRef(return_types) == func_type.getResults()) return; auto updated_type = FunctionType::get(func.getContext(), func_type.getInputs(), return_types); func.setType(updated_type); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
SmallVector<Type, 16> func_result_types; for (Value operand : island_op.GetYield().getOperands()) func_result_types.push_back(operand.getType()); FunctionType func_type = FunctionType::get(ctx, func_operand_types, func_result_types); // Create the outlined function SmallString<32> name = kOutlinedFuncPrefix; name += llvm::Twine(prefix_id++).str();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0)