Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for func_name (0.1 sec)

  1. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern void TF_DeletePluggableDeviceLibraryHandle(
        TF_Library* lib_handle);
    
    // Removes `func_name` from `g`. If `func_name` is not in `g`, an error will be
    // returned.
    TF_CAPI_EXPORT extern void TF_GraphRemoveFunction(TF_Graph* g,
                                                      const char* func_name,
                                                      TF_Status* status);
    
    #ifdef __cplusplus
    } /* end extern "C" */
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

      }
      absl::Status SetAttrFunctionName(const char* attr_name, const char* value,
                                       size_t length) override {
        tensorflow::NameAttrList func_name;
        func_name.set_name(string(value, value + length));
        op_->node_builder.Attr(attr_name, func_name);
        return absl::OkStatus();
      }
      absl::Status SetAttrTensor(const char* attr_name,
                                 AbstractTensorInterface* tensor) override {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      delete lib_handle;
    }
    
    void TF_GraphRemoveFunction(TF_Graph* g, const char* func_name,
                                TF_Status* status) {
      tensorflow::mutex_lock l(g->mu);
      status->status = g->graph.mutable_flib_def()->RemoveFunction(func_name);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    }
    
    void TF_SetAttrFuncName(TF_OperationDescription* desc, const char* attr_name,
                            const char* value, size_t length) {
      tensorflow::NameAttrList func_name;
      func_name.set_name(string(value, value + length));
      desc->node_builder.Attr(attr_name, func_name);
    }
    
    void TF_SetAttrShape(TF_OperationDescription* desc, const char* attr_name,
                         const int64_t* dims, int num_dims) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

      GraphDef gdef;
      GetGraphDef(host_graph_, &gdef);
      std::vector<string> func_names = GetFuncNames(gdef);
      ASSERT_EQ(2, func_names.size());
      ASSERT_EQ(func_name_, func_names[0]);
      ASSERT_EQ("MyGrad", func_names[1]);
      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(1, grads.size());
      ASSERT_EQ(func_name_, grads[0].first);
      ASSERT_EQ("MyGrad", grads[0].second);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. internal/s3select/sql/funceval.go

    	sqlFnToTimestamp FuncName = "TO_TIMESTAMP"
    	sqlFnUTCNow      FuncName = "UTCNOW"
    
    	// String
    	sqlFnCharLength      FuncName = "CHAR_LENGTH"
    	sqlFnCharacterLength FuncName = "CHARACTER_LENGTH"
    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    	sqlFnTrim            FuncName = "TRIM"
    	sqlFnUpper           FuncName = "UPPER"
    )
    
    var (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/aggregation.go

    package sql
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Aggregation Function name constants
    const (
    	aggFnAvg   FuncName = "AVG"
    	aggFnCount FuncName = "COUNT"
    	aggFnMax   FuncName = "MAX"
    	aggFnMin   FuncName = "MIN"
    	aggFnSum   FuncName = "SUM"
    )
    
    var (
    	errNonNumericArg = func(fnStr FuncName) error {
    		return fmt.Errorf("%s() requires a numeric argument", fnStr)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/analysis.go

    		// Initialize accumulator
    		e.aggregate = newAggVal(funcName)
    
    		var exprA qProp
    		if funcName == aggFnCount {
    			if e.Count.StarArg {
    				return qProp{isAggregation: true}
    			}
    
    			exprA = e.Count.ExprArg.analyze(s)
    		} else {
    			if len(e.SFunc.ArgsList) != 1 {
    				return qProp{err: fmt.Errorf("%s takes exactly one argument", funcName)}
    			}
    			exprA = e.SFunc.ArgsList[0].analyze(s)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/cmd/addr2line/addr2line_test.go

    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    	funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr)
    	if symName != funcName {
    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/http-tracer.go

    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    			reqPath = r.URL.Path
    		}
    
    		// Calculate function name
    		funcName := tc.FuncName
    		if funcName == "" {
    			funcName = "<unknown>"
    		}
    
    		t := madmin.TraceInfo{
    			TraceType: tt,
    			FuncName:  funcName,
    			NodeName:  nodeName,
    			Time:      reqStartTime,
    			Duration:  reqEndTime.Sub(respRecorder.StartTime),
    			Path:      reqPath,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top