Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 568 for CONST (0.03 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s);
    // `op_name` must outlive `op`.
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s);
    // `attr_name` must outlive `op`.
    void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    	const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Set the split function for the scanning operation.
    	scanner.Split(bufio.ScanWords)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/format-meta.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    // Format related consts
    const (
    	// Format config file carries backend format specific details.
    	formatConfigFile = "format.json"
    )
    
    const (
    	// Version of the formatMetaV1
    	formatMetaVersionV1 = "1"
    )
    
    // format.json currently has the format:
    // {
    //   "version": "1",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. cmd/metrics-router.go

    	// Metrics v3 endpoints
    	metricsV3Path = "/metrics/v3"
    )
    
    // Standard env prometheus auth type
    const (
    	EnvPrometheusAuthType    = "MINIO_PROMETHEUS_AUTH_TYPE"
    	EnvPrometheusOpenMetrics = "MINIO_PROMETHEUS_OPEN_METRICS"
    )
    
    type prometheusAuthType string
    
    const (
    	prometheusJWT    prometheusAuthType = "jwt"
    	prometheusPublic prometheusAuthType = "public"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. internal/config/constants.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    // Config value separator
    const (
    	ValueSeparator = ","
    )
    
    // Top level common ENVs
    const (
    	EnvAccessKey    = "MINIO_ACCESS_KEY"
    	EnvSecretKey    = "MINIO_SECRET_KEY"
    	EnvRootUser     = "MINIO_ROOT_USER"
    	EnvRootPassword = "MINIO_ROOT_PASSWORD"
    
    	// Legacy files
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 01:18:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_remote_test_util.cc

        // requests been enqueued.
        for (int i = 0; i < 50; ++i) {
          handles_task0.push_back(TestMatrixTensorHandle(ctx));
        }
      }
      const char task1_name[] = "/job:localhost/replica:0/task:1/device:CPU:0";
      const char task2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      std::vector<TFE_TensorHandle*> handles_task2;
      for (auto* h_task0 : handles_task0) {
        handles_task2.push_back(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradient_checker.cc

               int32_t step = 1) {
      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
      int num_dims = TF_NumDims(t);
      for (int i = 0; i < num_dims; i++) {
        out_dims[i] = TF_Dim(t, i);
      }
    }
    
    // Runs model as is if output is a scalar,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index 45efe2e..06bfab0 100644
    --- a/stdlib/setenv.c
    +++ b/stdlib/setenv.c
    @@ -319,6 +319,7 @@ unsetenv (const char *name)
     
       ep = __environ;
       if (ep != NULL)
    +  {
         while (*ep != NULL)
           if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
     	{
    @@ -332,6 +333,7 @@ unsetenv (const char *name)
     	}
           else
     	++ep;
    +  }
     
       UNLOCK;
     
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device.h

    //
    // The filled `device` struct and the allocated `device_info` struct may be
    // passed to TFE_RegisterCustomDevice. The `device_name` arguments must match.
    void AllocateParallelDevice(const char* device_name,
                                const char* const* underlying_devices,
                                int num_underlying_devices,
                                TFE_CustomDevice* device, void** device_info);
    
    }  // namespace parallel_device
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jun 04 21:49:16 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer_benchmark_test.go

    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Write(data)
    	}
    }
    
    func BenchmarkRingBuffer_AsyncReadBlocking(b *testing.B) {
    	const sz = 512
    	const buffers = 10
    	rb := New(sz * buffers)
    	rb.SetBlocking(true)
    	data := []byte(strings.Repeat("a", sz))
    	buf := make([]byte, sz)
    
    	go func() {
    		for {
    			rb.Read(buf)
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top