Op removes and returns the values associated with the key from the underlying container. If the underlying container does not contain this key, the op will block until it does.
(scope *Scope, key tf.Output, indices tf.Output, dtypes []tf.DataType, optional ...OrderedMapUnstageAttr)
| 5239 | // from the underlying container. If the underlying container |
| 5240 | // does not contain this key, the op will block until it does. |
| 5241 | func OrderedMapUnstage(scope *Scope, key tf.Output, indices tf.Output, dtypes []tf.DataType, optional ...OrderedMapUnstageAttr) (values []tf.Output) { |
| 5242 | if scope.Err() != nil { |
| 5243 | return |
| 5244 | } |
| 5245 | attrs := map[string]interface{}{"dtypes": dtypes} |
| 5246 | for _, a := range optional { |
| 5247 | a(attrs) |
| 5248 | } |
| 5249 | opspec := tf.OpSpec{ |
| 5250 | Type: "OrderedMapUnstage", |
| 5251 | Input: []tf.Input{ |
| 5252 | key, indices, |
| 5253 | }, |
| 5254 | Attrs: attrs, |
| 5255 | } |
| 5256 | op := scope.AddOperation(opspec) |
| 5257 | if scope.Err() != nil { |
| 5258 | return |
| 5259 | } |
| 5260 | var idx int |
| 5261 | var err error |
| 5262 | if values, idx, err = makeOutputList(op, idx, "values"); err != nil { |
| 5263 | scope.UpdateErr("OrderedMapUnstage", err) |
| 5264 | return |
| 5265 | } |
| 5266 | return values |
| 5267 | } |
| 5268 | |
| 5269 | // OrderedMapPeekAttr is an optional argument to OrderedMapPeek. |
| 5270 | type OrderedMapPeekAttr func(optionalAttr) |
nothing calls this directly
no test coverage detected