Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for brand_string (0.11 sec)

  1. src/internal/sysinfo/cpuinfo_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || freebsd || netbsd || openbsd
    
    package sysinfo
    
    import "syscall"
    
    func osCPUInfoName() string {
    	cpu, _ := syscall.Sysctl("machdep.cpu.brand_string")
    	return cpu
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 344 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    			for i := range r.Cells {
    				t := c.Intn(6)
    				switch t {
    				case 0:
    					r.Cells[i] = c.RandString()
    				case 1:
    					r.Cells[i] = c.Int63()
    				case 2:
    					r.Cells[i] = c.RandBool()
    				case 3:
    					x := map[string]interface{}{}
    					for j := c.Intn(10) + 1; j >= 0; j-- {
    						x[c.RandString()] = c.RandString()
    					}
    					r.Cells[i] = x
    				case 4:
    					x := make([]interface{}, c.Intn(10))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      // Checks for gradient attribute. If present converts the gradient function
      // and populates the GradientDef.
      auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName();
      if (auto attr =
              function->getAttrOfType<mlir::FlatSymbolRefAttr>(grad_string)) {
        auto grad_func = symbol_table.lookup<FuncOp>(attr.getValue());
        TF_RETURN_IF_ERROR(ConvertLibFunction(configs, tf_dialect, symbol_table,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      // Checks for gradient attribute. If present converts the gradient function
      // and populates the GradientDef.
      auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName();
      if (auto attr =
              function->getAttrOfType<mlir::FlatSymbolRefAttr>(grad_string)) {
        auto grad_func = symbol_table.lookup<FuncOp>(attr.getValue());
        TF_RETURN_IF_ERROR(ConvertLibFunction(configs, tf_dialect, symbol_table,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    // generate random object name.
    func getRandomObjectName() string {
    	return randString(16)
    }
    
    // generate random bucket name.
    func getRandomBucketName() string {
    	return randString(60)
    }
    
    // construct URL for http requests for bucket operations.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        auto gradient_attr =
            mlir::SymbolRefAttr::get(builder_.getContext(), mlir_grad_func_name);
        auto grad_string = mlir::TF::TensorFlowDialect::GetGradientAttrName();
        attributes.push_back(builder_.getNamedAttr(grad_string, gradient_attr));
      }
    
      deferred_functions_.emplace(func_name.str(), attributes);
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top