tff.Computation
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
An abstract interface for all classes that represent computations.
Inherits From: TypedObject
| Attributes | 
|---|
| type_signature | Returns the TFF type of this object. | 
Methods
__call__
View source
@abc.abstractmethod
__call__(
    *args, **kwargs
)
Invokes the computation with the given arguments in the given context.
| Args | 
|---|
| *args | The positional arguments. | 
| **kwargs | The keyword-based arguments. | 
| Returns | 
|---|
| The result of invoking the computation, the exact form of which depends
on the context. | 
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2024-09-20 UTC.
  
  
  
    
      [null,null,["Last updated 2024-09-20 UTC."],[],[]]