Skip to content

Commit

Permalink
Support Audio as a domain in Schema
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 699716595
  • Loading branch information
tfx-copybara committed Nov 24, 2024
1 parent c042313 commit f440b43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

## Bug Fixes and Other Changes

* Add Audio as a schema domain.

## Breaking Changes

## Deprecations
Expand Down
6 changes: 5 additions & 1 deletion tensorflow_metadata/proto/v0/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ message ValueCountList {
}

// Describes schema-level information about a specific feature.
// NextID: 36
// NextID: 37
message Feature {
// The name of the feature.
optional string name = 1; // required
Expand Down Expand Up @@ -205,6 +205,7 @@ message Feature {
// Supported semantic domains.
NaturalLanguageDomain natural_language_domain = 24;
ImageDomain image_domain = 25;
AudioDomain audio_domain = 36;
MIDDomain mid_domain = 26;
URLDomain url_domain = 27;
TimeDomain time_domain = 28;
Expand Down Expand Up @@ -637,6 +638,9 @@ message ImageDomain {
optional int64 max_image_byte_size = 2;
}

// Audio data.
message AudioDomain {}

// Knowledge graph ID, see: https://www.wikidata.org/wiki/Property:P646
message MIDDomain {}

Expand Down

0 comments on commit f440b43

Please sign in to comment.