tensorflow / tensorflow/models

[feature request] How to implement torch.nn.functional.grid_sample padding mode in Tensorflow?

Open
#7,381 8 comments 0 reactions 1 assignee View on GitHub

@daviddao is already working on this.

Since Jun 24, 2020.

models:research type:support
Dominant language
Python
Stars
77.7k
Forks
44.8k
PR merge metrics
No merged PRs in 30d

Description

https://stackoverflow.com/questions/52888146/what-is-the-equivalent-of-torch-nn-functional-grid-sample-in-tensorflow-numpy

How to implement padding mode?


System information
  • TensorFlow version (use command below): 1.10.0
Describe the problem

How to implement torch.nn.functional.grid_sample padding mode in Tensorflow?

Source code / logs

https://github.com/tensorflow/models/blob/master/research/transformer/spatial_transformer.py

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.