|
|
@@ -64,12 +64,16 @@ namespace Tensorflow |
|
|
{ |
|
|
{ |
|
|
return _log_prob(value); |
|
|
return _log_prob(value); |
|
|
} |
|
|
} |
|
|
|
|
|
#pragma warning disable CS0168 // Variable is declared but never used |
|
|
catch (Exception e1) |
|
|
catch (Exception e1) |
|
|
|
|
|
#pragma warning restore CS0168 // Variable is declared but never used |
|
|
{ |
|
|
{ |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
return math_ops.log(_prob(value)); |
|
|
return math_ops.log(_prob(value)); |
|
|
|
|
|
#pragma warning disable CS0168 // Variable is declared but never used |
|
|
} catch (Exception e2) |
|
|
} catch (Exception e2) |
|
|
|
|
|
#pragma warning restore CS0168 // Variable is declared but never used |
|
|
{ |
|
|
{ |
|
|
throw new NotImplementedException(); |
|
|
throw new NotImplementedException(); |
|
|
} |
|
|
} |
|
|
|