@Namespace(value="caffe") @NoOffset @Properties(inherit=caffe.class) public class Caffe extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
Caffe.RNG |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
CPU
enum caffe::Caffe::Brew
|
static int |
GPU
enum caffe::Caffe::Brew
|
Constructor and Description |
---|
Caffe(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CheckDevice(int device_id) |
static void |
DeviceQuery() |
static int |
FindDevice() |
static int |
FindDevice(int start_id) |
static Caffe |
Get() |
static int |
mode() |
static boolean |
multiprocess() |
static Caffe.RNG |
rng_stream() |
static boolean |
root_solver() |
static void |
set_mode(int mode) |
static void |
set_multiprocess(boolean val) |
static void |
set_random_seed(int seed) |
static void |
set_solver_count(int val) |
static void |
set_solver_rank(int val) |
static void |
SetDevice(int device_id) |
static int |
solver_count() |
static int |
solver_rank() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int CPU
public static final int GPU
public Caffe(Pointer p)
Pointer(Pointer)
.public static void SetDevice(int device_id)
public static void DeviceQuery()
public static int FindDevice(int start_id)
public static int FindDevice()
public static int solver_count()
public static void set_solver_count(int val)
public static int solver_rank()
public static void set_solver_rank(int val)
Copyright © 2022. All rights reserved.