Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for int8_t (0.04 sec)

  1. tensorflow/c/c_test_util.h

        unique_tensor_ptr;
    
    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

    // Fills data with values [start,end) with given step size.
    void Range(vector<int32_t>* data, int32_t start, int32_t end,
               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++) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack_test.cc

    namespace tensorflow {
    namespace {
    
    void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx,
                              std::vector<int64_t> shape,
                              std::vector<int64_t> strides) {
      size_t num_elements = 1;
      for (int i = 0; i < static_cast<int32_t>(shape.size()); ++i) {
        num_elements *= shape[i];
      }
      std::vector<float> data(num_elements);
      for (size_t j = 0; j < num_elements; ++j) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    interface rpc
    {
    	/* base types */
    
    	typedef unsigned char uint8_t;
    	typedef unsigned short uint16_t;
    	typedef unsigned int uint32_t;
    
    	/* dce */
    
    	typedef struct {
    	    uint32_t time_low;
    	    uint16_t time_mid;
    	    uint16_t time_hi_and_version;
    	    uint8_t clock_seq_hi_and_reserved;
    	    uint8_t clock_seq_low;
    	    uint8_t node[6];
    	} uuid_t;
    
    	/* win32 stuff */
    
    	typedef struct {
    		uint32_t type;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    	version(0.0)
    ]
    interface lsarpc
    {
    	import "../rpc.idl";
    
    	typedef struct {
    		uint32_t length;
    		uint16_t impersonation_level;
    		uint8_t context_mode;
    		uint8_t effective_only;
    	} LsarQosInfo;
    
    	typedef struct {
    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    	version(0.0)
    ]
    interface lsarpc
    {
    	import "../rpc.idl";
    
    	typedef struct {
    		uint32_t length;
    		uint16_t impersonation_level;
    		uint8_t context_mode;
    		uint8_t effective_only;
    	} LsarQosInfo;
    
    	typedef struct {
    		uint32_t length;
    		uint8_t *root_directory;
    		unicode_string *object_name;
    		uint32_t attributes;
    		uint32_t security_descriptor;
    		LsarQosInfo *security_quality_of_service;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental_reader_test.cc

    TFE_MonitoringCounter1* CreateCounter1(const char* counter_name,
                                           const char* label);
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta = 1);
    void IncrementCounter1(TFE_MonitoringCounter1* counter, const char* label,
                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental_reader.cc

    template <typename... LabelType>
    int64_t TFE_MonitoringCounterReader::Read(const LabelType&... labels) {
      return counter->Read(labels...);
    }
    
    TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name) {
      auto* result = new TFE_MonitoringCounterReader(name);
    
      return result;
    }
    
    int64_t TFE_MonitoringReadCounter0(TFE_MonitoringCounterReader* cell_reader) {
      int64_t result = cell_reader->Read();
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_debug.cc

    using tensorflow::string;
    
    namespace {
    
    std::vector<int64_t> TensorShapeAsVector(const tensorflow::TensorHandle& handle,
                                             absl::Status* status) {
      std::vector<int64_t> shape;
      int rank = -1;
      *status = handle.NumDims(&rank);
      if (!status->ok()) {
        return shape;
      }
      shape.reserve(rank);
      for (int i = 0; i < rank; ++i) {
        int64_t dim;
        *status = handle.Dim(i, &dim);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top