Skip to content

Instantly share code, notes, and snippets.

@arafatkatze
Created January 4, 2017 05:10
Show Gist options
  • Save arafatkatze/5da01a611c28b42716346f85ae7db4ae to your computer and use it in GitHub Desktop.
Save arafatkatze/5da01a611c28b42716346f85ae7db4ae to your computer and use it in GitHub Desktop.
node {
name: "m1"
op: "Const"
attr {
key: "_class"
value {
list {
}
}
}
attr {
key: "dtype"
value {
type: DT_INT64
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_INT64
tensor_shape {
dim {
size: 4
}
}
tensor_content: "\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000"
}
}
}
}
node {
name: "m2"
op: "Const"
attr {
key: "_class"
value {
list {
}
}
}
attr {
key: "dtype"
value {
type: DT_INT64
}
}
attr {
key: "value"
value {
tensor {
dtype: DT_INT64
tensor_shape {
dim {
size: 4
}
}
tensor_content: "\002\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\006\000\000\000\000\000\000\000"
}
}
}
}
node {
name: "Additionofconstants"
op: "Add"
input: "m1"
input: "m2"
attr {
key: "T"
value {
type: DT_INT64
}
}
attr {
key: "_class"
value {
list {
}
}
}
}
versions {
producer: 17
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment