Show / Hide Table of Contents

Class StringOrInstance

String or instance of a class

Inheritance
System.Object
StringOrInstance
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
Assembly: Keras.dll
Syntax
public class StringOrInstance

Constructors

| Improve this Doc View Source

StringOrInstance(PyObject)

Initializes a new instance of the StringOrInstance class.

Declaration
public StringOrInstance(PyObject obj)
Parameters
Type Name Description
Python.Runtime.PyObject obj

The object.

Fields

| Improve this Doc View Source

PyObject

The py object which is the base variable

Declaration
public PyObject PyObject
Field Value
Type Description
Python.Runtime.PyObject

Operators

| Improve this Doc View Source

Implicit(Base to StringOrInstance)

Performs an implicit conversion from Base to StringOrInstance.

Declaration
public static implicit operator StringOrInstance(Base opt)
Parameters
Type Name Description
Base opt

The opt.

Returns
Type Description
StringOrInstance

The result of the conversion.

| Improve this Doc View Source

Implicit(String to StringOrInstance)

Performs an implicit conversion from System.String to StringOrInstance.

Declaration
public static implicit operator StringOrInstance(string opt)
Parameters
Type Name Description
System.String opt

The opt.

Returns
Type Description
StringOrInstance

The result of the conversion.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX