Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,721 for func4 (0.15 sec)

  1. src/go/types/subst.go

    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    	copy.typ = typ
    	copy.origin = f.Origin()
    	return &copy
    }
    
    func (subst *subster) funcList(in []*Func) (out []*Func, copied bool) {
    	out = in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
    
      EnableIrPrinting(pm, "dump");
    
      constexpr absl::string_view program = R"mlir(
    module{
      func.func @main(%arg0: tensor<10xf32>) -> tensor<10xf32> {
        return %arg0 : tensor<10xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/SourceSetLinkDependenciesIntegrationTest.groovy

            file("src/main/headers/funcs.h") << """
                int func1();
                int func2();
    """
            file("src/main/cpp/main.cpp") << """
                #include <iostream>
                #include "funcs.h"
                int main () {
                    std::cout << func1() << func2() << std::endl;
                    return 0;
                }
    """
            file("src/main/cpp1/func1.cpp") << """
                int getOne();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/net/http/main_test.go

    // (all.bash), but as a serial test otherwise. Using t.Parallel isn't
    // compatible with the afterTest func in non-short mode.
    func setParallel(t *testing.T) {
    	if strings.Contains(t.Name(), "HTTP2") {
    		http.CondSkipHTTP2(t)
    	}
    	if testing.Short() {
    		t.Parallel()
    	}
    }
    
    func runningBenchmarks() bool {
    	for i, arg := range os.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-annotations-stress.test

    	pc=4803589 func=114 file=113 line=45
    Stack id=24 nframes=7
    	pc=4634510 func=146 file=116 line=223
    	pc=4634311 func=117 file=118 line=240
    	pc=4633765 func=119 file=118 line=216
    	pc=4633083 func=120 file=118 line=131
    	pc=4764601 func=121 file=122 line=152
    	pc=4765335 func=123 file=122 line=238
    	pc=4804612 func=124 file=113 line=70
    Stack id=43 nframes=2
    	pc=4804022 func=112 file=113 line=67
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

          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);
      new_func.addEntryBlock();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

      func.return  %1 : tensor<*xf32>
    
    }
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
    // Test not hoisting in TPU functions.
    
    // CHECK-LABEL: func @_tfrt_resource_init
    // CHECK-NEXT: return
    
    // CHECK-LABEL: func private @func2
    func.func private @func2(%arg: tensor<i1>) -> tensor<i32> {
      // CHECK-NOT: tf._TfrtGetResource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/runtime/callers_test.go

    	}()
    	func() {
    		defer func() {
    			r := recover()
    			if r != "panic2" {
    				t.Fatalf("got %v, wanted %v", r, "panic2")
    			}
    		}()
    		func() {
    			defer func() {
    				// Again, panic2 aborts/replaces panic1
    				panic("panic2")
    			}()
    			panic("panic1")
    		}()
    	}()
    }
    
    func TestCallersNilPointerPanic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    
      DeviceTarget target_spec_;
    
      StatesManager states_manager_;
    };
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/embedding_pipelining.mlir

        return
      }
      // Make sure func1 and func2 use the original resource variable and not the result of @broken_func.
      // CHECK: func.func private @non_tpu
      // CHECK: {{.*%0 = \"tf.StatefulPartitionedCall\"\(%arg0\).*f = @broken_func.*}}
      // CHECK: {{.*StatefulPartitionedCall\"\(%arg0\).*f = @func1.*}}
      // CHECK: {{.*StatefulPartitionedCall\"\(%arg0\).*f = @func2.*}}
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 33.1K bytes
    - Viewed (0)
Back to top