Show / Hide Table of Contents

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.

Inheritance
System.Object
Keras
Base
CustomObjectScope
Implements
System.IDisposable
Inherited Members
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 Source

CustomObjectScope()

Initializes a new instance of the CustomObjectScope class.

Declaration
public CustomObjectScope()

Operators

| Improve this Doc View Source

Implicit(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX