Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,371 for func (0.21 sec)

  1. tensorflow/c/c_api_function_test.cc

      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      TF_Operation* split = Split3(feed, func_graph_, s_);
      DefineT(-1, {}, {{feed, 0}}, {{split, 0}, {split, 2}}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      RunT({{func_feed, Int32Tensor({1, 2, 3, 4, 5, 6})}},
           {{func_op, 0}, {func_op, 1}}, {{1, 2}, {5, 6}});
    C++
    - Registered: 2023-11-28 12:39
    - Last Modified: 2023-07-20 22:08
    - 63.6K bytes
    - Viewed (6)
  2. src/cmd/cgo/internal/test/callback.go

    func stack24()   { var buf [24]byte; use(buf[:]); C.callGoStackCheck() }
    func stack28()   { var buf [28]byte; use(buf[:]); C.callGoStackCheck() }
    func stack32()   { var buf [32]byte; use(buf[:]); C.callGoStackCheck() }
    func stack36()   { var buf [36]byte; use(buf[:]); C.callGoStackCheck() }
    func stack40()   { var buf [40]byte; use(buf[:]); C.callGoStackCheck() }
    func stack44()   { var buf [44]byte; use(buf[:]); C.callGoStackCheck() }
    Go
    - Registered: 2023-12-05 11:13
    - Last Modified: 2023-05-12 12:00
    - 111.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental_test.cc

      const char* func_name_ = "MyFunc";
      TF_Status* s_;
      TF_Graph* func_graph_;
      TF_Function* func_;
    };
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveFunction) {
      TF_Function* funcs[1];
      DefineFunction(func_name_, &func_);
    
      TF_GraphCopyFunction(func_graph_, func_, nullptr, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1);
    C++
    - Registered: 2023-11-28 12:39
    - Last Modified: 2023-01-17 22:27
    - 13.1K bytes
    - Viewed (1)
  4. internal/s3select/sql/funceval.go

    	errNonStringTrimArg  = errors.New("TRIM() received a non-string argument")
    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    func (e *FuncExpr) getFunctionName() FuncName {
    	switch {
    	case e.SFunc != nil:
    		return FuncName(strings.ToUpper(e.SFunc.FunctionName))
    	case e.Count != nil:
    		return aggFnCount
    	case e.Cast != nil:
    		return sqlFnCast
    	case e.Substring != nil:
    		return sqlFnSubstring
    Go
    - Registered: 2023-12-03 19:28
    - Last Modified: 2021-06-01 21:59
    - 13.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/analysis.go

    	for _, ex := range e.Expressions {
    		result.combine(ex.analyze(s))
    	}
    	return
    }
    
    func (e *AliasedExpression) analyze(s *Select) qProp {
    	return e.Expression.analyze(s)
    }
    
    func (e *Expression) analyze(s *Select) (result qProp) {
    	for _, ac := range e.And {
    		result.combine(ac.analyze(s))
    	}
    	return
    }
    
    func (e *AndCondition) analyze(s *Select) (result qProp) {
    	for _, ac := range e.Condition {
    Go
    - Registered: 2023-12-03 19:28
    - Last Modified: 2021-11-10 16:12
    - 8K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p1/p1.go

    	error
    	Temporary() bool
    }
    
    func (myInt) privateTypeMethod()           {}
    func (myInt) CapitalMethodUnexportedType() {}
    
    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    
    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    Go
    - Registered: 2023-12-05 11:13
    - Last Modified: 2022-12-02 16:29
    - 3.3K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    }
    
    func (p *unrecognizedDisk) IsLocal() bool {
    	return p.storage.IsLocal()
    }
    
    func (p *unrecognizedDisk) Endpoint() Endpoint {
    	return p.storage.Endpoint()
    }
    
    func (p *unrecognizedDisk) Hostname() string {
    	return p.storage.Hostname()
    }
    
    func (p *unrecognizedDisk) Healing() *healingTracker {
    	return nil
    }
    
    Go
    - Registered: 2023-12-03 19:28
    - Last Modified: 2023-11-21 05:33
    - 10.1K bytes
    - Viewed (0)
  8. api/go1.22.txt

    pkg math/rand/v2, func ExpFloat64() float64 #61716
    pkg math/rand/v2, func Float32() float32 #61716
    pkg math/rand/v2, func Float64() float64 #61716
    pkg math/rand/v2, func Int32() int32 #61716
    pkg math/rand/v2, func Int32N(int32) int32 #61716
    pkg math/rand/v2, func Int64() int64 #61716
    pkg math/rand/v2, func Int64N(int64) int64 #61716
    pkg math/rand/v2, func Int() int #61716
    pkg math/rand/v2, func IntN(int) int #61716
    Plain Text
    - Registered: 2023-12-05 11:13
    - Last Modified: 2023-11-22 18:54
    - 7.9K bytes
    - Viewed (0)
  9. internal/color/color.go

    		return fmt.Sprint
    	}()
    
    	RedBoldf = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Red = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Blue = func() func(format string, a ...interface{}) string {
    Go
    - Registered: 2023-12-03 19:28
    - Last Modified: 2022-12-13 16:27
    - 3.7K bytes
    - Viewed (0)
  10. cmd/notification.go

    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.wg.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    // The first call to return a non-nil error will be
    // collected in errs slice and returned by Wait().
    func (g *NotificationGroup) Go(ctx context.Context, f func() error, index int, addr xnet.Host) {
    Go
    - Registered: 2023-12-03 19:28
    - Last Modified: 2023-11-28 06:41
    - 42.6K bytes
    - Viewed (0)
Back to top