File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -812,8 +812,9 @@ To get any .green[operations] or .green[tensors] that might *not* be stored expl
812
812
813
813
- `tf.get_default_graph()` : Get the current (default) graph
814
814
- `G.get_operations()` : List all the TF ops in the graph
815
- - `G.get_operation_by_name(name)` : Retrieve a specific TF op in the graph
816
- .gray[(Q. How to convert an operation to a tensor? )]
815
+ - `G.get_operation_by_name(name)` : Retrieve a specific TF op
816
+ < br/ > .gray[(Q. How to convert an operation to a tensor? )]
817
+ - `G.get_tensor_by_name(name)` : Retrieve a specific tensor
817
818
- `tf.get_collection(tf.GraphKeys.~~ `): Get the collection of some tensors
818
819
819
820
To get .green[variables]:
@@ -1007,7 +1008,7 @@ def multilayer_perceptron(x):
1007
1008
* Interpose your debugging python code in the graph
1008
1009
1009
1010
1010
- .green[There is no silber bullet; one might need to choose the most convenient and suitable debugging tool, depending on the case]
1011
+ .green[There is no silver bullet; one might need to choose the most convenient and suitable debugging tool, depending on the case]
1011
1012
1012
1013
-- -
1013
1014
template: inverse
You can’t perform that action at this time.
0 commit comments