slint
slint copied to clipboard
iOS support
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. Have I written custom code OS Platform and Distribution TensorFlow installed from TensorFlow version Bazel version CUDA/cuDNN version GPU model and memory Exact command to reproduce Mobile device
This problem appears to be broader than just specifying GPUOptions
for TensorFlow sessions. There is no native Go API for passing any options when creating a session. The user must create the binary representation of a ConfigProto
protocol buffer outside of the TensorFlow Go API.
See, for example, the test case TestSessionConfig
in session_test.go:
func TestSessionConfig(t *testing.T) {
// Exercise SessionOptions.
// Arguably, a better API would be for SessionOptions.Config to be the
// type generated by the protocol buffer compiler. But for now, the
// tensorflow package continues to be independent of protocol buffers
// and this test exercises the option since the implementation has a
// nuanced conversion to C types.
//
// Till then, the []byte form of Config here was generated using a toy
// tensorflow Python program:
/*
import tensorflow
c = tensorflow.ConfigProto()
c.intra_op_parallelism_threads = 1
print c.SerializeToString()
*/
graph := NewGraph()
c, err := Const(graph, "Const", int32(14))
if err != nil {
t.Fatal(err)
}
opts := SessionOptions{Config: []byte("(\x01")}
[...]
Would the TensorFlow maintainers accept a non-Google contribution that added the ability to specify session options using pure Go code? This functionality would require generating instances of the ConfigProto
protocol buffer defined in config.proto
. I can see two ways to generate these protocol buffers: Either add a build target to generate Go bindings for the files in tensorflow/core/protobuf
; or add Go wrappers for the generated C++ code in tensorflow/core/protobuf/config.pb.h
@asimshankar Can you please take a look? Thanks!
@frreiss we'll definitely accept a Go-only API to configure tensorflow.
I am looking into this.
Created PR #26682 with a Go API to create ConfigOptions protocol buffer messages. I made the changes as narrow in scope as I could.
Closed by https://github.com/tensorflow/tensorflow/pull/26682
@frreiss Thank you
#26682 is reverted https://github.com/tensorflow/tensorflow/commit/6e9cb400d17f60e50cefe59fc099fc5b6e4074ce#diff-dcd28ad951bd17e9c512d3b564640bab
is this issue open? Can i work on it? @mattn
Yes please.
May I know how to reproduce the issue?
Sorry, I don't know why the changes was reverted.
https://github.com/tensorflow/tensorflow/pull/26682#issuecomment-480350306
ok no problem I will try some other issues
Hi,Adesh I am beginner i don't where start Can anybody help me?????
Hello! I am newbie to open source contribution and really interested to contribute!! . But I have very very less knowledge about it . Can anyone help me please?
can someone guide me what to do? i will be really thankful :+1:
Kindly close this issue. It's confusing for first time contributors who come here for solving their first Issue.
I don't mind to close this but no one explain why https://github.com/tensorflow/tensorflow/pull/26682 was reverted.
is this still open?
is it still open ?
@mattn is this issue closed?
if not
is it open for beginners to help?
if not then why does it have the good first issue
??
Assign me
relax people! if u are here to solve these tasks, u are a beginner anyway. just do it, regardless if someone already started working on the PR or not. u will learn a bunch of stuff!! don't focus too much on whether someone already started working on it. in that way, u will never start..
can any one guide me to this issue
Hello Gays
Ok ill start on the issue.
name =input("enter your name : ") password = input("enter your password : ") password_length = len(password) if password_length <= 8: print("Short paas troop word!") elif 8 <password_length <= 12: print("Medium paas word! ") else: print("Perfect paas word! ") print(password_length)
@RedaAitBabaaziz ?
@plopd Thanks. I really look forward to lots of learning. So how to get started?
Note from the past to fellow coders and beginners: Ahem.
So this pops up in the good first issue page and a lot of "good first issue finder" websites. You might've came from a link, or other way.
So here is the deal:
I am a TensorFlow Developer - god level: Try it out, if you can understand what these names mean and can spot them in in the "TensorFlow".
I am a TensorFlow Developer: Try to solve it/ or learn the issue.
I am a huge developer of [X language used in TensorFlow]: First learn the issue(more like, learn how the issue relates to the "TensorFlow".
I am a developer of [X language used in TensorFlow]: try it out; learn the issue.
I am a learner in TensorFlow: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!)
I am a learner of [X language used in TensorFlow]: you can explore but try this issue when you become a I am a learner in TensorFlow or I am a developer of [X language used in TensorFlow]...
I am a learner of programming: first be a I am a learner of [X language used in TensorFlow] or a I am a developer of [X language used in TensorFlow]....
I am a explorer of GitHub/TensorFlow/[X language used in TensorFlow]: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!)
After choosing what to do from the above; do these:
Understand what is going on here; what's the comments, what's the feature, what are the questions here, how all these PRs and versions align to the issue, Can you make a timeline of the improvements.
So you are fixing the issue: First understand what is "GPUOptions for Go binding" then look the PRs already in progress, then chat with everyone(feel free to chat in other places like Reddit, Stack overflow.
Thanks for the hearts!