Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Scharf (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental.h

                                      const char* label1, const char* label2);
    
    // APIs for String Gauge with 3 labels.
    typedef struct TFE_MonitoringStringGauge3 TFE_MonitoringStringGauge3;
    TF_CAPI_EXPORT extern TFE_MonitoringStringGauge3* TFE_MonitoringNewStringGauge3(
        const char* name, TF_Status* out_status, const char* description,
        const char* label1, const char* label2, const char* label3);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback_c_gccgo.c

    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    	_cgo_panic("panic from C");
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

                                              const char* attr_name,
                                              unsigned char value);
    TF_CAPI_EXPORT extern void TF_SetAttrBoolList(TF_OperationDescription* desc,
                                                  const char* attr_name,
                                                  const unsigned char* values,
                                                  int num_values);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_test_util.h

    // and sets 'device_name' accordingly.
    // `device_type` must be either "GPU" or "TPU".
    bool GetDeviceName(TFE_Context* ctx, tensorflow::string* device_name,
                       const char* device_type);
    
    // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it.
    tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name,
                                       int num_tasks);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern TF_AttrType TFE_OpNameGetAttrType(
        TFE_Context* ctx, const char* op_or_function_name, const char* attr_name,
        unsigned char* is_list, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TFE_OpSetAttrString(TFE_Op* op,
                                                   const char* attr_name,
                                                   const void* value,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. src/cmd/cgo/internal/test/callback_c.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    IntoC(void)
    {
    	BackIntoGo();
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.h

    // Set XLA's internal BuildXlaOpsPassFlags.tf_xla_enable_lazy_compilation to the
    // value of 'enabled'. Also returns the original value of that flag.
    //
    // Use in tests to allow XLA to fallback to TF classic. This has global effect.
    TF_CAPI_EXPORT unsigned char TF_SetXlaEnableLazyCompilation(
        unsigned char enable);
    TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    // If the ResourceMgr provided by the `ctx` has a resource
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_c_gc.c

    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    	struct { const char *p; } a;
    	a.p = "panic from C";
    	crosscall2(_cgo_panic, &a, sizeof a);
    	*(int*)1 = 1;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_context.h

          AbstractTensorInterface* t) = 0;
      // Copy the handle to another device.
      virtual ImmediateExecutionTensorHandle* CopyTensorHandleToDevice(
          ImmediateExecutionTensorHandle* handle, const char* device_name,
          Status* status) = 0;
    
      // Create an operation to perform op execution
      ImmediateExecutionOperation* CreateOperation() override = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top