-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graph: api, doc, interface, utils, backend: support bottom-right implicit causal mask #2967
base: main
Are you sure you want to change the base?
Changes from all commits
3126e33
6461bb6
9542cdf
db1da92
4f54d14
49bcba6
7dce440
dc17771
7a82fbc
215a104
e9118e1
c450f97
0c46e1b
18a0c0f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -306,6 +306,9 @@ class logical_tensor { | |
/// the library. For example, constant weight tensors in inference | ||
/// scenarios. | ||
constant = dnnl_graph_tensor_property_constant, | ||
/// Host scalar means the tensor will be a 0-D scalar tensor on host. | ||
/// It should be used with a CPU engine when creating the tensor. | ||
host_scalar = dnnl_graph_tensor_property_host_scalar, | ||
ElaineBao marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is host_scalar constant? how to set const property for host_scalar? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. host_scalar is not a constant, we don't have a way to set it as a const currently. There was some discussion here, but no decision yet. |
||
}; | ||
|
||
/// default constructor | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably could use a wiki page link. @vpirogov, could you share your thoughts, please?