Computes the "logical and" of elements across dimensions of a tensor. Reduces `input` along the dimensions given in `axis`. Unless `keep_dims` is true, the rank of the tensor is reduced by 1 for each entry in `axis`. If `keep_dims` is true, the reduced dimensions are retained with length 1. Argume
(scope *Scope, input tf.Output, axis tf.Output, optional ...AllAttr)
| 11886 | // |
| 11887 | // Returns The reduced tensor. |
| 11888 | func All(scope *Scope, input tf.Output, axis tf.Output, optional ...AllAttr) (output tf.Output) { |
| 11889 | if scope.Err() != nil { |
| 11890 | return |
| 11891 | } |
| 11892 | attrs := map[string]interface{}{} |
| 11893 | for _, a := range optional { |
| 11894 | a(attrs) |
| 11895 | } |
| 11896 | opspec := tf.OpSpec{ |
| 11897 | Type: "All", |
| 11898 | Input: []tf.Input{ |
| 11899 | input, axis, |
| 11900 | }, |
| 11901 | Attrs: attrs, |
| 11902 | } |
| 11903 | op := scope.AddOperation(opspec) |
| 11904 | return op.Output(0) |
| 11905 | } |
| 11906 | |
| 11907 | // Delete the TensorArray from its resource container. |
| 11908 | // |