slint icon indicating copy to clipboard operation
slint copied to clipboard

iOS support

Open ogoffart opened this issue 3 years ago • 0 comments

ogoffart avatar Sep 02 '20 12:09 ogoffart

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

tensorflowbutler avatar Oct 12 '18 12:10 tensorflowbutler

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

frreiss avatar Dec 03 '18 23:12 frreiss

@asimshankar Can you please take a look? Thanks!

ymodak avatar Dec 03 '18 23:12 ymodak

@frreiss we'll definitely accept a Go-only API to configure tensorflow.

alextp avatar Mar 04 '19 20:03 alextp

I am looking into this.

frreiss avatar Mar 13 '19 16:03 frreiss

Created PR #26682 with a Go API to create ConfigOptions protocol buffer messages. I made the changes as narrow in scope as I could.

frreiss avatar Mar 13 '19 23:03 frreiss

Closed by https://github.com/tensorflow/tensorflow/pull/26682

@frreiss Thank you

mattn avatar Mar 30 '19 15:03 mattn

#26682 is reverted https://github.com/tensorflow/tensorflow/commit/6e9cb400d17f60e50cefe59fc099fc5b6e4074ce#diff-dcd28ad951bd17e9c512d3b564640bab

mattn avatar Apr 05 '19 17:04 mattn

is this issue open? Can i work on it? @mattn

imrahul361 avatar Sep 28 '20 19:09 imrahul361

Yes please.

mattn avatar Sep 30 '20 05:09 mattn

May I know how to reproduce the issue?

imrahul361 avatar Oct 01 '20 09:10 imrahul361

Sorry, I don't know why the changes was reverted.

https://github.com/tensorflow/tensorflow/pull/26682#issuecomment-480350306

mattn avatar Oct 01 '20 09:10 mattn

ok no problem I will try some other issues

imrahul361 avatar Oct 01 '20 09:10 imrahul361

Hi,Adesh I am beginner i don't where start Can anybody help me?????

AdeshKhandait avatar Oct 25 '20 06:10 AdeshKhandait

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?

Aditya-Komaravolu avatar Dec 19 '20 04:12 Aditya-Komaravolu

can someone guide me what to do? i will be really thankful :+1:

himanshu007-creator avatar Jan 01 '21 10:01 himanshu007-creator

Kindly close this issue. It's confusing for first time contributors who come here for solving their first Issue.

Suraj-Upadhyay avatar Jan 12 '21 15:01 Suraj-Upadhyay

I don't mind to close this but no one explain why https://github.com/tensorflow/tensorflow/pull/26682 was reverted.

mattn avatar Jan 12 '21 16:01 mattn

is this still open?

abadi003 avatar Jan 13 '21 01:01 abadi003

is it still open ?

sajen-k avatar Feb 22 '21 11:02 sajen-k

@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??

Gomesz785 avatar Jul 20 '21 05:07 Gomesz785

Assign me

shanksandbox avatar Jul 22 '21 09:07 shanksandbox

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..

dantp-ai avatar Jul 26 '21 08:07 dantp-ai

can any one guide me to this issue

i-am-epic avatar Aug 11 '21 19:08 i-am-epic

Hello Gays

redabadreddine1236546 avatar Aug 17 '21 13:08 redabadreddine1236546

Ok ill start on the issue.

Smitty7177 avatar Aug 21 '21 07:08 Smitty7177

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 avatar Aug 30 '21 09:08 RedaAitBabaaziz

@RedaAitBabaaziz ?

Gomesz785 avatar Sep 06 '21 10:09 Gomesz785

@plopd Thanks. I really look forward to lots of learning. So how to get started?

engineerrbae avatar Sep 13 '21 22:09 engineerrbae

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!

Gomesz785 avatar Sep 16 '21 05:09 Gomesz785