You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Node.IterateInbound.cs 424 B

5 years ago
5 years ago
12345678910111213141516
  1. using System.Collections.Generic;
  2. namespace Tensorflow.Keras.Engine
  3. {
  4. public partial class Node
  5. {
  6. public IEnumerable<(ILayer, int, int, Tensor)> iterate_inbound()
  7. {
  8. foreach (var kt in KerasInputs)
  9. {
  10. var (layer, node_index, tensor_index) = kt.KerasHistory;
  11. yield return (layer, node_index, tensor_index, kt);
  12. }
  13. }
  14. }
  15. }