Two black labs run, one carrying an orange dog toy.
Both dogs are female.
You can not infer they are female.
the two black labs might be male, not female.
Dogs can be male or female so a dog would not necessarily be female.