Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 93 for func_0 (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      // Quantizer via the tf_quant.composite_function UnitAttr attached to
      // func ops. We remove this attribute as this interferes with VHLO conversion.
      // Remove this temporary hack.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        func_op->removeAttr(kFusedFunctionAttr);
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

    // `ExtractSubgraphToFunc` adds exactly two "new" `Operations`, a FuncOp and
    // a CallOp. Pass these back to the caller for setting more specific attributes
    // after graph mutation has taken place.
    struct OpsAdded {
      mlir::func::FuncOp func_op;
      mlir::func::CallOp call_op;
    };
    
    // Given a `Subgraph` containing a sequence of adjacent `Operations` from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  3. src/reflect/type.go

    func FuncOf(in, out []Type, variadic bool) Type {
    	if variadic && (len(in) == 0 || in[len(in)-1].Kind() != Slice) {
    		panic("reflect.FuncOf: last arg of variadic func must be slice")
    	}
    
    	// Make a func type.
    	var ifunc any = (func())(nil)
    	prototype := *(**funcType)(unsafe.Pointer(&ifunc))
    	n := len(in) + len(out)
    
    	if n > 128 {
    		panic("reflect.FuncOf: too many arguments")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      void runOnOperation() override;
    };
    
    // Updates func's type according to its current arguments and return values.
    void UpdateFuncType(func::FuncOp func) {
      llvm::SmallVector<Type, 8> arg_types;
      for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
      func.setType(
          FunctionType::get(func.getContext(), arg_types,
                            func.front().getTerminator()->getOperandTypes()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    template <typename T>
    class ThreadWithParam : public ThreadWithParamBase {
     public:
      typedef void (*UserThreadFunc)(T);
    
      ThreadWithParam(
          UserThreadFunc func, T param, Notification* thread_can_start)
          : func_(func),
            param_(param),
            thread_can_start_(thread_can_start),
            finished_(false) {
        ThreadWithParamBase* const base = this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    template <typename T>
    class ThreadWithParam : public ThreadWithParamBase {
     public:
      typedef void (*UserThreadFunc)(T);
    
      ThreadWithParam(
          UserThreadFunc func, T param, Notification* thread_can_start)
          : func_(func),
            param_(param),
            thread_can_start_(thread_can_start),
            finished_(false) {
        ThreadWithParamBase* const base = this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  7. src/runtime/race.go

    var racearenastart uintptr
    var racearenaend uintptr
    
    func racefuncenter(callpc uintptr)
    func racefuncenterfp(fp uintptr)
    func racefuncexit()
    func raceread(addr uintptr)
    func racewrite(addr uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    func racereadrangepc1(addr, size, pc uintptr)
    func racewriterangepc1(addr, size, pc uintptr)
    func racecallbackthunk(uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      std::vector<Type> output_types = GetValueTypes(outputs);
      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      func::FuncOp func_op = builder.create<func::FuncOp>(
          module.getLoc(), name,
          builder.getFunctionType(input_types, output_types));
      func_op.setPrivate();
    
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, const llvm::SetVector<Operation*>& ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			f func(args ...int)
    		}
    	}{},
    		"struct { f func(...int) }",
    	},
    	{struct {
    		x (interface {
    			a(func(func(int) int) func(func(int)) int)
    			b()
    		})
    	}{},
    		"interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }",
    	},
    	{struct {
    		x struct {
    			int32
    			int64
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/html.go

    	}
    	html := HTMLWriter{
    		w:    out,
    		Func: f,
    		path: reportPath,
    		dot:  newDotWriter(cfgMask),
    	}
    	html.start()
    	return &html
    }
    
    // Fatalf reports an error and exits.
    func (w *HTMLWriter) Fatalf(msg string, args ...interface{}) {
    	fe := w.Func.Frontend()
    	fe.Fatalf(src.NoXPos, msg, args...)
    }
    
    // Logf calls the (w *HTMLWriter).Func's Logf method passing along a msg and args.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top