You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using Tensorflow.Eager;
-
- namespace Tensorflow
- {
- public partial class ResourceVariable
- {
- public static implicit operator _VariableScopeStore(ResourceVariable variable)
- {
- return null;
- }
-
- public static implicit operator ResourceVariable(_VariableScopeStore store)
- {
- return null;
- }
-
- public static implicit operator Tensor(ResourceVariable var)
- => var.Handle;
-
- public static implicit operator EagerTensor(ResourceVariable var)
- => var.Handle as EagerTensor;
-
- /*public static implicit operator ResourceVariable(Tensor var)
- => var.ResourceVar;*/
-
- public static implicit operator RefVariable(ResourceVariable var)
- {
- return null;
- }
-
- public static implicit operator IntPtr(ResourceVariable var)
- => var._handle;
- }
- }
|