Searched defs:MetadataBuilder (Results 1 – 3 of 3) sorted by relevance
52 pub struct MetadataBuilder { struct56 impl MetadataBuilder { impl63 pub fn with_capacity(cap: usize) -> MetadataBuilder { in with_capacity()72 pub fn add_str(&mut self, key: &str, value: &str) -> Result<&mut MetadataBuilder> { in add_str()89 fn add_metadata(&mut self, key: &str, value: &[u8]) -> &mut MetadataBuilder { in add_metadata()105 pub fn add_bytes(&mut self, key: &str, value: &[u8]) -> Result<&mut MetadataBuilder> { in add_bytes()
109 MetadataBuilder(HloComputation* computation, const OpMetadata& metadata) in MetadataBuilder() function
1142 pub struct MetadataBuilder<'a> { struct1146 impl<'a> MetadataBuilder<'a> { argument