tensorflow / tensorflow/java

Possibly missing op functions: reduce mean/std/variance, std, variance?

Open
#148 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
928
Forks
227
PR merge metrics
No merged PRs in 30d

Description

I've noticed that a few ops present in the python docs are missing for reasons I can't determine. Specifically reduce_mean, reduce_std, and reduce_variance. reduce_mean seems like it is just missing the reduce wrapper (it's present in math.mean) but I can't find methods for standard deviation or variance at all. I thought it might be related to #117 so I went looking through the api def protos, and there aren't any standard deviation or variance protos, but there aren't any reduce op protos either so I'm not sure what's up. Regardless of whether this is #117 or not, variance at least would be nice to have.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Python-documented reduce_mean, reduce_std, and reduce_variance operations with the existing math.mean implementation and the API definition protos referenced in the issue. Check issue #117 for related context; done means the intended operations and their proto or wrapper requirements are resolved and covered by the Java API.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, tensorflow
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.