Skip to content

tensor_type argument for all DocVec deserializations #1677

@JohannesMessner

Description

@JohannesMessner

DocVec.from_protobuf(tensor_type=...) already exists, but this needs to be the case for all deserializations:

  • proto
  • json
  • pandas
  • bytes
  • binary
  • base64

Otherwise there is no way of knowing if the deserialized DocVec should use torch, np, or tf

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions