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
OpenDAS
dlib
Commits
7ff4f6f4
"examples/pytorch/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "ed60f401233c2e8ff8362c5e1eda028ac6ef4336"
Commit
7ff4f6f4
authored
Mar 30, 2013
by
Davis King
Browse files
clarified example
parent
e06d1e69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/matrix_expressions_ex.cpp
examples/matrix_expressions_ex.cpp
+1
-1
No files found.
examples/matrix_expressions_ex.cpp
View file @
7ff4f6f4
...
@@ -253,7 +253,7 @@ struct example_op_vector_to_matrix
...
@@ -253,7 +253,7 @@ struct example_op_vector_to_matrix
const
static
long
NC
=
1
;
// We do know that it only has one column (since it's a vector)
const
static
long
NC
=
1
;
// We do know that it only has one column (since it's a vector)
typedef
T
type
;
typedef
T
type
;
// Since the std::vector doesn't use a dlib memory manager we list the default one here.
// Since the std::vector doesn't use a dlib memory manager we list the default one here.
typedef
memory_manager
<
char
>::
kernel_1a
mem_manager_type
;
typedef
default_
memory_manager
mem_manager_type
;
// The layout type also doesn't really matter in this case. So we list row_major_layout
// The layout type also doesn't really matter in this case. So we list row_major_layout
// since it is a good default.
// since it is a good default.
typedef
row_major_layout
layout_type
;
typedef
row_major_layout
layout_type
;
...
...
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