Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for _noinline (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

      attributes {tf._construction_context = "kEagerRuntime", tf._input_shapes = [#tf_type.shape<1x5x5x1024>], tf._noinline = true, tf._original_func_name = "__inference_main_540"} {
        %cst_0 = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %cst_1 = "tf.Const"() {value = dense<4> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. test/typeparam/dictionaryCapture-noinline.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      %pop_result = "tf.Reshape"(%slice, %elem_size_const)
      "tf.AssignVariableOp"(%size, %new_size)
    ```
    
    The pass also works across control flow and functional calls.
    ### `-tf-strip-noinline-attribute`
    
    _Strip the tf._noinline attribute from top-level functions._
    
    ### `-tf-strip-tf-attributes`
    
    _Removes TF specific attributes_
    
    Removes attributes that are TF specific (start with "tf.") or that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  10. 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)
Back to top