Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for function_type (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/switchn.mlir

            "tf_executor.yield"() : () -> ()
          }) : () -> !tf_executor.control
          "tf_executor.fetch"() : () -> ()
        }) : () -> ()
        "func.return"() : () -> ()
      }) {sym_name = "main", function_type = () -> ()} : () -> ()
    }) {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 126 : i32}} : () -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeNormalAnalysisSourceModuleDeclarationReturnTypeTestGenerated.java

      }
    
      @Test
      @TestMetadata("funtionType.kt")
      public void testFuntionType() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/funtionType.kt");
      }
    
      @Test
      @TestMetadata("localDeclarations.kt")
      public void testLocalDeclarations() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisSourceModuleDeclarationReturnTypeTestGenerated.java

      }
    
      @Test
      @TestMetadata("funtionType.kt")
      public void testFuntionType() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/funtionType.kt");
      }
    
      @Test
      @TestMetadata("localDeclarations.kt")
      public void testLocalDeclarations() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt

        val nullableType =
            (typeReference + parenthesizedType) * oneOrMore(token(QUEST))
    
        val receiverType by debug {
            parenthesizedType + nullableType + typeReference
        }
    
        val functionType =
            optional(receiverType * token(DOT)) * functionTypeParameters * token(ARROW) * type
    
        val callableReference by debug {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top