- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for source (0.15 sec)
-
tensorflow/c/eager/tape.h
// the tape, so no gradient needs to be computed from it unless this // target is also a source. auto source_tensor = sources_that_are_targets.find(id); if (source_tensor != sources_that_are_targets.end()) { Gradient* ones_like = nullptr; TF_RETURN_IF_ERROR( vspace.BuildOnesLike(source_tensor->second, &ones_like)); (*result)[id].push_back(ones_like); } }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
src/cmd/cgo/internal/test/cthread_unix.c
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris #include <pthread.h> #include "_cgo_export.h" static void* addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1K bytes - Viewed (0) -
tensorflow/c/c_api.h
// and weren't used as input to any node in the imported graph def. The number // of fetched mappings is returned in `num_missing_unused_input_mappings`. The // array of each mapping's source node name is returned in `src_names`, and the // array of each mapping's source index is returned in `src_indexes`. // // `*src_names`, `*src_indexes`, and the memory backing each string in // `src_names` are owned by and have the lifetime of `results`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
src/cmd/cgo/internal/test/cthread_windows.c
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <process.h> #include "_cgo_export.h" __stdcall static unsigned int addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
const char* plugin_resource_name, void* plugin_resource, void (*delete_func)(void*), TF_Status* status); // If the ResourceMgr provided by the `ctx` has a resource // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise, // invokes create_func to create the resource. `delete_func` is needed for // ResourceMgr to clean up the resource. `status` will be set. If `status` is
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual void ClearCachesAndThreadExecutors() = 0; // Initialize the step resource container for a training step. This is used // in current TF runtime. For tfrt, it is used by fallback op handler. virtual void StartStep() = 0; // Destroy the step resource container for a training step. virtual void EndStep() = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0)