| 155 | } |
| 156 | |
| 157 | Tensor CreateStringTensor(const string& value) { |
| 158 | Tensor tensor(DT_STRING, TensorShape({})); |
| 159 | tensor.scalar<tstring>()() = value; |
| 160 | return tensor; |
| 161 | } |
| 162 | |
| 163 | void AddAssetsTensorsToInputs(const StringPiece export_dir, |
| 164 | const std::vector<AssetFileDef>& asset_file_defs, |
no test coverage detected