@Name(value="caffe::DataTransformer<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleDataTransformer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DoubleDataTransformer(Pointer p)
Pointer cast constructor.
|
DoubleDataTransformer(TransformationParameter param,
int phase) |
| Modifier and Type | Method and Description |
|---|---|
IntPointer |
InferBlobShape(Datum datum)
\brief Infers the shape of transformed_blob will have when
the transformation is applied to the data.
|
IntPointer |
InferBlobShape(DatumVector datum_vector)
\brief Infers the shape of transformed_blob will have when
the transformation is applied to the data.
|
IntPointer |
InferBlobShape(org.bytedeco.opencv.opencv_core.Mat cv_img)
\brief Infers the shape of transformed_blob will have when
the transformation is applied to the data.
|
IntPointer |
InferBlobShape(org.bytedeco.opencv.opencv_core.MatVector mat_vector)
\brief Infers the shape of transformed_blob will have when
the transformation is applied to the data.
|
void |
InitRand()
\brief Initialize the Random number generations if needed by the
transformation.
|
void |
Transform(Datum datum,
DoubleBlob transformed_blob)
\brief Applies the transformation defined in the data layer's
transform_param block to the data.
|
void |
Transform(DatumVector datum_vector,
DoubleBlob transformed_blob)
\brief Applies the transformation defined in the data layer's
transform_param block to a vector of Datum.
|
void |
Transform(DoubleBlob input_blob,
DoubleBlob transformed_blob)
\brief Applies the same transformation defined in the data layer's
transform_param block to all the num images in a input_blob.
|
void |
Transform(org.bytedeco.opencv.opencv_core.Mat cv_img,
DoubleBlob transformed_blob)
\brief Applies the transformation defined in the data layer's
transform_param block to a cv::Mat
|
void |
Transform(org.bytedeco.opencv.opencv_core.MatVector mat_vector,
DoubleBlob transformed_blob)
\brief Applies the transformation defined in the data layer's
transform_param block to a vector of Mat.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DoubleDataTransformer(Pointer p)
Pointer.Pointer(Pointer).public DoubleDataTransformer(@Const @ByRef TransformationParameter param, @Cast(value="caffe::Phase") int phase)
public void InitRand()
public void Transform(@Const @ByRef Datum datum, DoubleBlob transformed_blob)
datum - Datum containing the data to be transformed.transformed_blob - This is destination blob. It can be part of top blob's data if
set_cpu_data() is used. See data_layer.cpp for an example.public void Transform(@Const @ByRef DatumVector datum_vector, DoubleBlob transformed_blob)
datum_vector - A vector of Datum containing the data to be transformed.transformed_blob - This is destination blob. It can be part of top blob's data if
set_cpu_data() is used. See memory_layer.cpp for an example.public void Transform(@Const @ByRef org.bytedeco.opencv.opencv_core.MatVector mat_vector, DoubleBlob transformed_blob)
mat_vector - A vector of Mat containing the data to be transformed.transformed_blob - This is destination blob. It can be part of top blob's data if
set_cpu_data() is used. See memory_layer.cpp for an example.public void Transform(@Const @ByRef org.bytedeco.opencv.opencv_core.Mat cv_img, DoubleBlob transformed_blob)
cv_img - cv::Mat containing the data to be transformed.transformed_blob - This is destination blob. It can be part of top blob's data if
set_cpu_data() is used. See image_data_layer.cpp for an example.public void Transform(DoubleBlob input_blob, DoubleBlob transformed_blob)
input_blob - A Blob containing the data to be transformed. It applies the same
transformation to all the num images in the blob.transformed_blob - This is destination blob, it will contain as many images as the
input blob. It can be part of top blob's data.@StdVector public IntPointer InferBlobShape(@Const @ByRef Datum datum)
datum - Datum containing the data to be transformed.@StdVector public IntPointer InferBlobShape(@Const @ByRef DatumVector datum_vector)
datum_vector - A vector of Datum containing the data to be transformed.@StdVector public IntPointer InferBlobShape(@Const @ByRef org.bytedeco.opencv.opencv_core.MatVector mat_vector)
mat_vector - A vector of Mat containing the data to be transformed.@StdVector public IntPointer InferBlobShape(@Const @ByRef org.bytedeco.opencv.opencv_core.Mat cv_img)
cv_img - cv::Mat containing the data to be transformed.Copyright © 2019. All rights reserved.