Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for noinlines (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/mark_functions_noinline.mlir

    // RUN: tf-quant-opt %s -mark-functions-noinline='noinline-functions=noinline0' \
    // RUN:     -allow-unregistered-dialect -mlir-disable-threading \
    // RUN:     -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests that the function is marked tf._noinline = true.
    
    // CHECK-LABEL: @noinline0
    // CHECK-SAME: attributes {{{.*tf._noinline = true.*}}}
    func.func @noinline0() -> (tensor<0xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 00:02:46 UTC 2023
    - 841 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

      StringRef getDescription() const final {
        return "Marks a function whose name is in `noinline-functions` option with "
               "the attribute `tf._noinline = true`. This attributes the function "
               "from being inlined by the `InlinerPass`.";
      }
    
      void runOnOperation() override;
    
     private:
      ListOption<std::string> CreateNoinlineFunctionsOption(
          const ArrayRef<std::string> noinline_functions) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/strip_noinline.mlir

    // RUN: tf-opt %s -tf-strip-noinline-attribute | FileCheck %s
    
    // CHECK-LABEL: func @strip_simple(
    // CHECK-NOT: tf._noinline
    func.func @strip_simple() -> tensor<2xi32> attributes {tf._noinline = true} {
      // CHECK-NEXT: %[[CST:.*]] = "tf.Const"
      %cst = "tf.Const"() { value = dense<2> : tensor<2xi32> } : () -> tensor<2xi32>
      func.return %cst : tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 364 bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/string.kt

    package org.gradle.kotlin.dsl.fixtures
    
    
    fun <T> Iterable<T>.joinLines(transform: (T) -> String) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 157 bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/model/ModelReportParser.groovy

            }
            reportLines = reportLines[firstLine..-1]
            def nodeLines = reportLines[FIRST_NODE_LINE_NUMBER..-1]
    
            return new ParsedModelReport(
                getTitle(reportLines),
                reportLines,
                nodeOnlyLines(nodeLines),
                parseNodes(nodeLines)
            )
        }
    
        private static void validate(String text) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 21 18:45:57 UTC 2018
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc

    // This tranformation pass strips any "_noinline" attributes from the module.
    struct StripNoinlineAttributePass
        : public impl::StripNoinlineAttributePassBase<StripNoinlineAttributePass> {
     public:
      // void runOnOperation() override;
      void runOnOperation() override {
        // Strip the "tf._noinline" attribute from top-level functions.
        for (auto func_op : getOperation().getOps<func::FuncOp>())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. src/debug/dwarf/testdata/rnglistx.c

    // clang -gdwarf-5 -O2 -nostdlib
    
    __attribute__((noinline, cold))
    static int sum(int i) {
      int j, s;
    
      s = 0;
      for (j = 0; j < i; j++) {
        s += j * i;
      }
      return s;
    }
    
    int main(int argc, char** argv) {
      if (argc == 0) {
        return 0;
      }
      return sum(argc);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 17 00:54:09 UTC 2021
    - 268 bytes
    - Viewed (0)
  10. src/debug/dwarf/testdata/ranges.c

    // gcc -g -O2 -freorder-blocks-and-partition
    
    const char *arr[10000];
    const char *hot = "hot";
    const char *cold = "cold";
    
    __attribute__((noinline))
    void fn(int path) {
    	int i;
    
    	if (path) {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = hot;
    		}
    	} else {
    		for (i = 0; i < sizeof arr / sizeof arr[0]; i++) {
    			arr[i] = cold;
    		}
    	}
    }
    
    int main(int argc, char *argv[]) {
    	fn(argc);
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 22 14:06:09 UTC 2016
    - 415 bytes
    - Viewed (0)
Back to top