Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Ehat (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    ==============================================================================*/
    
    // MakeCleanup(f) returns an RAII cleanup object that calls 'f' in its
    // destructor. The easiest way to use MakeCleanup is with a lambda argument,
    // capturing the return value in an 'auto' local variable. Most users will not
    // need more sophisticated syntax than that.
    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.h

                                                                TF_Status* status);
    // Indicates that the caller will not be using `h` any more.
    TF_CAPI_EXPORT extern void TFE_DeleteTensorHandle(TFE_TensorHandle* h);
    TF_CAPI_EXPORT extern TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h);
    // This function will block till the operation that produces `h` has completed.
    TF_CAPI_EXPORT extern int TFE_TensorHandleNumDims(TFE_TensorHandle* h,
    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)
  3. tensorflow/c/c_api_macros_internal.h

    #ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_
    
    #ifdef __cplusplus
    #include "tensorflow/core/platform/status.h"
    
    // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized.
    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/gcc68255/c.c

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    static void f(void) {
    }
    
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 206 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback_c.c

    // Copyright 2011 The Go Authors. All rights reserved.
    // 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);
    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/eager/abstract_operation.h

      // returned by DeviceName should be "/device:GPU:*" until a particular GPU is
      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback_c_gccgo.c

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //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)
    {
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  10. tensorflow/c/experimental/grappler/grappler.h

    //
    // Conventions:
    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top