Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lozac'h Loic
otbtf
Commits
98510d96
Commit
98510d96
authored
Jul 31, 2018
by
remi cresson
Browse files
ADD: Tensorflow::DT_BOOL type in data bridge
parent
e9ed30fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/otbTensorflowDataTypeBridge.cxx
View file @
98510d96
...
...
@@ -19,7 +19,11 @@ namespace tf {
template
<
class
Type
>
tensorflow
::
DataType
GetTensorflowDataType
()
{
if
(
typeid
(
Type
)
==
typeid
(
char
))
if
(
typeid
(
Type
)
==
typeid
(
bool
))
{
return
tensorflow
::
DT_BOOL
;
}
else
if
(
typeid
(
Type
)
==
typeid
(
char
))
{
return
tensorflow
::
DT_INT8
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment