MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Image

Method Image

tensorflow/examples/android/jni/object_tracking/image-inl.h:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <typename T>
28Image<T>::Image(const int width, const int height)
29 : width_less_one_(width - 1),
30 height_less_one_(height - 1),
31 data_size_(width * height),
32 own_data_(true),
33 width_(width),
34 height_(height),
35 stride_(width) {
36 Allocate();
37}
38
39template <typename T>
40Image<T>::Image(const Size& size)

Calls

no outgoing calls