Class CustomObjectScope
Provides a scope that changes to _GLOBAL_CUSTOM_OBJECTS cannot escape. Code within a with statement will be able to access custom objects by name.Changes to global custom objects persist within the enclosing with statement. At end of the with statement, global custom objects are reverted to state at beginning of the with statement.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Utils
Assembly: Keras.dll
Syntax
public class CustomObjectScope : Base, IDisposable
Constructors
| Improve this Doc View SourceCustomObjectScope()
Initializes a new instance of the CustomObjectScope class.
Declaration
public CustomObjectScope()
Operators
| Improve this Doc View SourceImplicit(PyObject to CustomObjectScope)
Performs an implicit conversion from Python.Runtime.PyObject to CustomObjectScope.
Declaration
public static implicit operator CustomObjectScope(PyObject py)
Parameters
Type | Name | Description |
---|---|---|
Python.Runtime.PyObject | py | The py. |
Returns
Type | Description |
---|---|
CustomObjectScope | The result of the conversion. |
Implements
System.IDisposable