tensorflow_probability/python/layers/distribution_layer.py
def new(params, num_components, event_shape=(),
          validate_args=False, name=None):
    """Create the distribution instance from a `params` vector."""
    return MixtureSameFamily.new(
        params,
        num_components,
        IndependentLogistic(
            event_shape, validate_args=validate_args, name=name),
        validate_args=validate_args,
        name=name)
def new(params, num_components, event_shape=(),
          validate_args=False, name=None):
    """Create the distribution instance from a `params` vector."""
    return MixtureSameFamily.new(
        params,
        num_components,
        IndependentLogistic(
            event_shape, validate_args=validate_args, name=name),
        validate_args=validate_args,
        name=name)
def new ( params , num_components , event_shape = ( ) , validate_args = False , name = None ) : return MixtureSameFamily . new ( params , num_components , IndependentLogistic ( event_shape , validate_args = validate_args , name = name ) , validate_args = validate_args , name = name )
Create the distribution instance from a `params` vector.
Create the distribution instance from a params vector .