public class

LayerVector

extends Object
java.lang.Object
   ↳ org.neshan.layers.LayerVector

Summary

Public Constructors
LayerVector(long cPtr, boolean cMemoryOwn)
LayerVector()
یک وکتور خالی می سازد
LayerVector(long n)
یک وکتور با اندازه n می سازد
Public Methods
void add(Layer x)
long capacity()
اندازه وکتور
void clear()
داد‌ه‌های وکتور را خالی می کند
synchronized void delete()
Layer get(int i)
static long getCPtr(LayerVector obj)
boolean isEmpty()
مشخص می کند که وکتور خالی هست یا نه
void reserve(long n)
داد‌ه‌های وکتور را برعکس می کند
void set(int i, Layer val)
داده‌ی iام وکتور را ست می کند.
long size()
long swigGetRawPtr()
Returns the raw pointer to the object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LayerVector (long cPtr, boolean cMemoryOwn)

public LayerVector ()

یک وکتور خالی می سازد

public LayerVector (long n)

یک وکتور با اندازه n می سازد

Public Methods

public void add (Layer x)

public long capacity ()

اندازه وکتور

public void clear ()

داد‌ه‌های وکتور را خالی می کند

public synchronized void delete ()

public Layer get (int i)

public static long getCPtr (LayerVector obj)

public boolean isEmpty ()

مشخص می کند که وکتور خالی هست یا نه

public void reserve (long n)

داد‌ه‌های وکتور را برعکس می کند

public void set (int i, Layer val)

داده‌ی iام وکتور را ست می کند. در صورت بیشتر بودن i از اندازه وکتور خطا رخ می دهد.

public long size ()

public long swigGetRawPtr ()

Returns the raw pointer to the object. This is used internally by the SDK.

Returns
  • The internal pointer of the object.