| 58 | } |
| 59 | |
| 60 | Status CreateAssignShapeFn(InferenceContext* c) { |
| 61 | ShapeAndType handle_shape_and_type; |
| 62 | TF_RETURN_IF_ERROR(ValidateVariableResourceHandle(c, 0, &handle_shape_and_type)); |
| 63 | |
| 64 | ShapeHandle value_shape = c->input(1); |
| 65 | ShapeHandle unused; |
| 66 | TF_RETURN_IF_ERROR( |
| 67 | c->Merge(handle_shape_and_type.shape, value_shape, &unused)); |
| 68 | return Status::OK(); |
| 69 | } |
| 70 | |
| 71 | } // namespace |
| 72 |
nothing calls this directly
no test coverage detected