Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for _noinline (0.11 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/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir

        return %arg0 : tensor<1x2x2x3xf32>
      }
    }
    
    // CHECK: module
    // CHECK: tf.StatefulPartitionedCall
    // CHECK: func.func private @some_func
    // CHECK-NOT: func.call
    
    // -----
    
    // This test makes sure functions without tf._noinline=true is inlined.
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      return %x : tensor<i32>
    }
    
    // -----
    
    // Test for XlaLaunch
    
    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) {__op_key = 0: i32} : (tensor<1x3xf32>, tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %1 : tensor<1x3xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // saved using the SaveV2 op.
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertSaveOpPass();
    
    // Creates a pass that marks functions with the attribute `tf._noinline = true`
    // to avoid being inlined by the `InlinerPass`. `noinline_functions` is the name
    // of the functions to mark.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateMarkFunctionsNoinlinePass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir

      // CHECK-SAME: f = @some_other_func
      // CHECK: return
    
      func.func private @some_func(%arg0: tensor<3x3xf32>, %arg1: tensor<3x3xf32>) -> tensor<3x3xf32> attributes {tf._noinline = true} {
        %0 = stablehlo.add %arg0, %arg1 : tensor<3x3xf32>
        return %0 : tensor<3x3xf32>
      }
      // CHECK: func.func private @some_func
      // CHECK: tf.XlaCallModule
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // removed by resource lifting. Requires known maximum sizes of stacks and
    // known element shapes of push ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStackOpsDecompositionPass();
    
    // Creates a pass to strip the "tf._noinline" attribute from the functions in
    // the module.
    std::unique_ptr<OperationPass<ModuleOp>> CreateStripNoinlineAttributePass();
    
    // Converts tensor list operations into operations on buffers and sizes. Needs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      FunctionDef noinline = compilable;
      noinline.mutable_signature()->set_name("NoInlineFn");
      AddAttr("_noinline", static_cast<bool>(true), noinline.mutable_attr());
    
      FunctionDefLibrary flib;
      *flib.add_function() = compilable;
      *flib.add_function() = uncompilable;
      *flib.add_function() = noinline;
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      ];
    }
    
    def StripNoinlineAttributePass : Pass<"tf-strip-noinline-attribute", "ModuleOp"> {
      let summary = "Strip the tf._noinline attribute from top-level functions.";
      let constructor = "TF::CreateStripNoinlineAttributePass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top