What do you think Theano should do when this op in the graph return an
error as there is no more data?

Le 9 janv. 2017 12:33, "Maxim Kochurov" <[email protected]> a
écrit :

> I'm currently trying to make user friendly interface for pymc3. I want to
> implement automatic likelihood scaling, that is now done by user. I believe
> that this Op will help a lot with implementing large scale inference
> algorithms.
>
> --
> Best regards,
> Max
>
>
>
>
> 9 янв. 2017 г., в 18:16, Frédéric Bastien <[email protected]>
> написал(а):
>
> Hi,
>
> Currenlty we don't have such an op. I'm not sure how to implement the case
> of the end of the computation. We could have it return an empty tensor, but
> this don't seem super clean. So such an op should be used with an ifelse op
> that would skip all the computation... Nothing super fast to implement in
> all cases.
>
> What prevent you from doing that outside Theano? You could wrap the Theano
> function in a class/function that would do what you want.
>
> Fred
>
> On Sat, Jan 7, 2017 at 10:09 AM, Maxim Kochurov <
> [email protected]> wrote:
>
>> Hi I wonder if it is possible to create a custom Op that takes user
>> defined generator when init and yields form that generator on runtime. I
>> want to use it for passing minibatches to the graph in such way
>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "theano-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/theano-users/NmJ7sU12NnE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "theano-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to