Turi Create
4.0
additional_sframe_utilities.hpp
1
/* Copyright © 2017 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 https://opensource.org/licenses/BSD-3-Clause
5
*/
6
#ifndef TURI_UNITY_EXTENSIONS_ADDITIONAL_SFRAME_UTILITIES_HPP
7
#define TURI_UNITY_EXTENSIONS_ADDITIONAL_SFRAME_UTILITIES_HPP
8
#include <core/data/sframe/gl_sarray.hpp>
9
10
void
sframe_load_to_numpy(
turi::gl_sframe
input,
size_t
outptr_addr,
11
std::vector<size_t> outstrides,
12
std::vector<size_t> field_length,
13
size_t
begin,
size_t
end);
14
15
void
image_load_to_numpy(
const
turi::image_type
& img,
size_t
outptr_addr,
16
const
std::vector<size_t>& outstrides);
17
18
#endif
turi::image_type
Definition:
image_type.hpp:35
turi::gl_sframe
Definition:
gl_sframe.hpp:492
model_server
extensions
additional_sframe_utilities.hpp
Generated by
1.8.13