Searched refs:metadata_str (Results 1 – 3 of 3) sorted by relevance
45 metadata_str = metadata_json.read().decode('UTF-8')46 self.metadata = json.loads(metadata_str)
176 auto metadata_str = compile.getAttrOfType<StringAttr>("metadata"); in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping() local177 assert(metadata_str && "Missing compilation metadata"); in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()179 metadata.ParseFromString(std::string(metadata_str.getValue())); in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
717 tstring metadata_str; in ReadTensors() local718 TF_RETURN_IF_ERROR(ReadRecord(&metadata_str)); in ReadTensors()719 if (!metadata.ParseFromArray(metadata_str.data(), metadata_str.size())) { in ReadTensors()