Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for _noinline (0.25 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-skip-partitioned-calls.mlir

      func.func private @some_func(%arg0: tensor<1x2x2x3xf32>) -> tensor<1x2x2x3xf32> attributes {tf._noinline = true} {
        return %arg0 : tensor<1x2x2x3xf32>
      }
    
      // CHECK-SKIP: func.func private @some_other_func
      func.func private @some_other_func(%arg0: tensor<1x2x2x3xf32>) -> tensor<1x2x2x3xf32> attributes {tf._noinline = true} {
        return %arg0 : tensor<1x2x2x3xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/xla_cluster_formation.mlir

    // Check that we only outline the outermost partitioned call with
    // `_xla_compile_device_type` in nested calls to a device cluster. The callee
    // of any partitioned call outside of a device cluster is marked with
    // `tf._noinline = true` to prevent it getting inlined to perseve runtime
    // performance.
    // CHECK-LABEL: func.func @nested_calls
    func.func @nested_calls(%arg0: tensor<i32>) -> tensor<i32> attributes {tf.entry_function = {}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/saved_model/testdata/xla_launch.mlir

      func.return %1 : tensor<i32>
    }
    
    func.func private @xla_func_0(%arg0: tensor<1x3xf32>, %arg1: tensor<1x3xf32>) -> tensor<1x3xf32> attributes {tf._XlaMustCompile = true, tf._noinline = true, tf._original_func_name = "should_not_be_used"} {
      %1 = "tf.AddV2"(%arg0, %arg1) : (tensor<1x3xf32>, tensor<1x3xf32>) -> tensor<1x3xf32>
      %2 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/saved_model/testdata/xla_launch_xla_reduce_window.mlir

      %1 = "tf.ReadVariableOp"(%0) {device = "/device:CPU:0"} : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
      %2 = "tf.XlaLaunch"(%arg0, %1) {_noinline = true, _xla_compile_device_type = "GPU", device = "/device:GPU:0", function = @xla_func_0, operandSegmentSizes = array<i32: 0, 2, 0>} : (tensor<7xf32>, tensor<f32>) -> tensor<10xf32>
      func.return %2 : tensor<10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

      %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32>
      func.return %cst : tensor<2xi32>
    }
    
    func.func private @simple_callee_with_noinline() -> tensor<2xi32> attributes {tf._noinline = true} {
      %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32>
      func.return %cst : tensor<2xi32>
    }
    
    // Test that simple TF operations can be inlined.
    
    // CHECK-LABEL: func @inline_simple(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/inline/interleaved/interleaved.go

    		}
    
    		match := func(n ir.Node) bool {
    			switch n := n.(type) {
    			case *ir.CallExpr:
    				return true
    			case *ir.TailCallStmt:
    				n.Call.NoInline = true // can't inline yet
    			}
    			return false
    		}
    
    		edit := func(n ir.Node) ir.Node {
    			call, ok := n.(*ir.CallExpr)
    			if !ok { // previously inlined
    				return nil
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

         * Processes the descendants of the element using the preorder implementation of tree traversal.
         */
        private inline fun <reified T : PsiElement> PsiElement.forEachDescendantOfType(
            noinline predicate: (T) -> Boolean = { true },
            noinline action: (T) -> Unit,
        ) = this.accept(object : PsiRecursiveElementVisitor() {
            override fun visitElement(element: PsiElement) {
                if (element is T && predicate(element)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SourceControlExtensions.kt

    import org.gradle.vcs.VersionControlSpec
    
    
    /**
     * Specifies the VCS location for the requested component.
     *
     * @see VcsMapping.from
     */
    inline fun <reified T : VersionControlSpec> VcsMapping.from(noinline configureAction: T.() -> Unit) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 961 bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PolymorphicDomainObjectContainerExtensions.kt

     *
     * @see [PolymorphicDomainObjectContainer.register]
     */
    inline fun <reified T : Any> PolymorphicDomainObjectContainer<in T>.register(name: String, noinline configuration: T.() -> Unit): NamedDomainObjectProvider<T> =
        register(name, T::class.java, configuration)
    
    
    /**
     * Creates a domain object with the specified name and type, adds it to the container,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Unsupported.kt

    ) = unsupported<T>(documentationSection) {
        text(description)
    }
    
    
    inline fun <reified T : Any> unsupported(
        documentationSection: DocumentationSection = DocumentationSection.RequirementsDisallowedTypes,
        noinline unsupportedMessage: StructuredMessageBuilder
    ): Codec<T> = codec(
        encode = {
            logUnsupported("serialize", documentationSection, unsupportedThings = unsupportedMessage)
        },
        decode = {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top