Turi Create
4.0
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
c
d
f
g
m
s
Typedefs
Enumerations
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
image_utils.hpp
1
/* Copyright © 2020 Apple Inc. All rights reserved.
2
*
3
* Use of this source code is governed by a BSD-3-clause license that can
4
* be found in the LICENSE.txt file or at
5
* https://opensource.org/licenses/BSD-3-Clause
6
*/
7
8
#pragma once
9
10
#include <core/data/image/image_type.hpp>
11
#include <ml/neural_net/Image.hpp>
12
13
namespace
turi
{
14
15
/// Converts from the Turi image_type to the neural_net Image type.
16
std::shared_ptr<neural_net::Image>
wrap_image
(
const
image_type& image);
17
18
}
// namespace turi
turi::wrap_image
std::shared_ptr< neural_net::Image > wrap_image(const image_type &image)
Converts from the Turi image_type to the neural_net Image type.
turi
SKD.
Definition:
capi_initialization.hpp:11
toolkits
util
image_utils.hpp
Generated by
1.8.13