Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Bounds (0.22 sec)

  1. tensorflow/c/c_api.h

    //
    // If index is out of bounds, an error code will be set in the status object,
    // and -1 will be returned.
    TF_CAPI_EXPORT extern int64_t TF_DeviceListMemoryBytes(
        const TF_DeviceList* list, int index, TF_Status* status);
    
    // Retrieve the incarnation number of a given device.
    //
    // If index is out of bounds, an error code will be set in the status object,
    // and 0 will be returned.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. src/cmd/cgo/internal/swig/testdata/callback/main.h

    // 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.
    
    class Callback {
    public:
    	virtual ~Callback() { }
    	virtual std::string run() { return "Callback::run"; }
    };
    
    class Caller {
    private:
    	Callback *callback_;
    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  3. tensorflow/c/env.h

    // and deleting entries as they are encountered.
    //
    // If dirname itself is not readable or does not exist, *undeleted_dir_count is
    // set to 1, *undeleted_file_count is set to 0 and an appropriate status (e.g.
    // TF_NOT_FOUND) is returned.
    //
    // If dirname and all its descendants were successfully deleted, TF_OK is
    // returned and both error counters are set to zero.
    //
    // Otherwise, while traversing the tree, undeleted_file_count and
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/c/c_api_macros_internal.h

                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    // Macro to verify that the field NAME of STRUCT_OBJ is not null.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    // found in the provided `op`.
    TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op,
                                                   const char* input_name,
                                                   TF_Status* status);
    
    // Returns the length (number of tensors) of the output argument `output_name`
    // found in the provided `op`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/eager/tape.h

        for (auto it : op_it->second.input_tensor_id) {
          auto count_it = result.tensor_usage_counts.find(it);
          if (count_it != result.tensor_usage_counts.end()) {
            count_it->second++;
          } else {
            result.tensor_usage_counts[it] = 1;
            if (tensor_tape.find(it) != tensor_tape.end()) {
              tensor_stack.push_back(it);
            }
          }
        }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. src/cmd/cgo/internal/test/issue20266/issue20266.h

    // Copyright 2017 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.
    
    #define issue20266 20266
    
    #ifndef def20266
    #error "expected def20266 to be defined"
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 251 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue26213/jni.h

    // Copyright 2018 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.
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    C
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 874 bytes
    - Viewed (0)
Back to top