Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 231 for dotypedef (0.14 sec)

  1. tensorflow/c/kernels_experimental.h

    //
    // The API here is subject to changes in the future.
    // --------------------------------------------------------------------------
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct TF_VariableInputLockHolder TF_VariableInputLockHolder;
    
    // Expose higher level Assignment operation for Pluggable vendors to implement
    // in the plugin for Training. The API takes in the context with indices for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    C void pointers become Go's unsafe.Pointer.
    
    For example, mpz_t is defined in <gmp.h> as:
    
    	typedef unsigned long int mp_limb_t;
    
    	typedef struct
    	{
    		int _mp_alloc;
    		int _mp_size;
    		mp_limb_t *_mp_d;
    	} __mpz_struct;
    
    	typedef __mpz_struct mpz_t[1];
    
    Cgo generates:
    
    	type _C_int int32
    	type _C_mp_limb_t uint64
    	type _C___mpz_struct struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler_internal.h

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/protobuf/rewriter_config.pb.h"
    
    namespace tensorflow {
    namespace grappler {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*TFInitGraphPluginFn)(TP_OptimizerRegistrationParams* const,
                                        TF_Status* const);
    
    // Registers Graph optimizers.
    Status InitGraphPlugin(void* dso_handle);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 08 08:58:23 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_ppc64.go

    	_ITIMER_REAL    = 0x0
    	_ITIMER_VIRTUAL = 0x1
    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/tests/perf_test.cc

        i++;
      }
    }
    
    // Add numbers in a loop by calling a raw C++ function with a function
    // pointer.
    void CallFunctionsBase(::testing::benchmark::State& state) {
      int64_t sum = 0;
      typedef int64_t (*Func)(int64_t a, int64_t b);
      volatile Func f_raw = AddRaw;
      Func f = f_raw;
      size_t i = 0;
      for (auto dummy : state) {
        sum = f(sum, i);
        i++;
      }
      // volatile int64_t result = sum;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. src/runtime/defs_linux_mips64x.go

    	_ITIMER_REAL    = 0x0
    	_ITIMER_VIRTUAL = 0x1
    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/runtime/defs_linux_ppc64le.go

    	_ITIMER_REAL    = 0x0
    	_ITIMER_VIRTUAL = 0x1
    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // value with the desired resultant type.
      Operation *materializeConstant(OpBuilder &builder, Attribute value, Type type,
                                     Location loc) override;
    
      typedef std::function<void(TensorFlowDialect &dialect)> AdditionalOpFunction;
    
      // Register an op registration hook which is invoked during construction.
      //
      // A hook may use the public addOperations() method to add additional
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/public/saved_model_api.h

    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    // An opaque type representing a Tensorflow "SavedModel"
    // (https://www.tensorflow.org/guide/saved_model) that we always pass by pointer
    // to achieve ABI stability.
    typedef struct TF_SavedModel TF_SavedModel;
    
    // Load a SavedModel from `dirname`. We expect the SavedModel to contain a
    // single Metagraph (as for those exported from TF2's `tf.saved_model.save`).
    //
    // Params:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/tf_tensor_internal.h

    // This struct forms part of the C API's public interface. It must strictly be
    // passed to or returned from C functions *by pointer*. Otherwise, changes to
    // its internal structure will break the C API's binary interface.
    typedef struct TF_Tensor {
      tensorflow::AbstractTensorInterface* tensor;
    } TF_Tensor;
    
    class TF_ManagedBuffer : public tensorflow::TensorBuffer {
     public:
      TF_ManagedBuffer(void* data, size_t len,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top