Op removes and returns the (key, value) element with the smallest key from the underlying container. If the underlying container does not contain elements, the op will block until it does.
(scope *Scope, indices tf.Output, dtypes []tf.DataType, optional ...OrderedMapUnstageNoKeyAttr)
| 5142 | // key from the underlying container. If the underlying container |
| 5143 | // does not contain elements, the op will block until it does. |
| 5144 | func OrderedMapUnstageNoKey(scope *Scope, indices tf.Output, dtypes []tf.DataType, optional ...OrderedMapUnstageNoKeyAttr) (key tf.Output, values []tf.Output) { |
| 5145 | if scope.Err() != nil { |
| 5146 | return |
| 5147 | } |
| 5148 | attrs := map[string]interface{}{"dtypes": dtypes} |
| 5149 | for _, a := range optional { |
| 5150 | a(attrs) |
| 5151 | } |
| 5152 | opspec := tf.OpSpec{ |
| 5153 | Type: "OrderedMapUnstageNoKey", |
| 5154 | Input: []tf.Input{ |
| 5155 | indices, |
| 5156 | }, |
| 5157 | Attrs: attrs, |
| 5158 | } |
| 5159 | op := scope.AddOperation(opspec) |
| 5160 | if scope.Err() != nil { |
| 5161 | return |
| 5162 | } |
| 5163 | var idx int |
| 5164 | var err error |
| 5165 | key = op.Output(idx) |
| 5166 | if values, idx, err = makeOutputList(op, idx, "values"); err != nil { |
| 5167 | scope.UpdateErr("OrderedMapUnstageNoKey", err) |
| 5168 | return |
| 5169 | } |
| 5170 | return key, values |
| 5171 | } |
| 5172 | |
| 5173 | // Concatenates tensors along one dimension. |
| 5174 | // |
nothing calls this directly
no test coverage detected