Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for init (0.29 sec)

  1. tensorflow/c/c_test.c

      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
      bool released_ = false;
      F f_;
    };
    
    template <int&... ExplicitParameterBarrier, typename F,
              typename DecayF = typename std::decay<F>::type>
    Cleanup<DecayF> MakeCleanup(F&& f) {
      return Cleanup<DecayF>(std::forward<F>(f));
    }
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients_internal.h

                           ForwardOperation*);
    Status SetAttrBoolList(AbstractOperation*, const char* attr_name,
                           const unsigned char* values, int num_values,
                           ForwardOperation*);
    Status SetAttrShapeList(AbstractOperation*, const char* attr_name,
                            const int64_t** dims, const int* num_dims,
                            int num_values, ForwardOperation*);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback_c_gc.c

    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    	struct { const char *p; } a;
    	a.p = "panic from C";
    	crosscall2(_cgo_panic, &a, sizeof a);
    	*(int*)1 = 1;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue29563/weak2.c

    // Copyright 2019 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.
    
    extern int weaksym __attribute__((__weak__));
    int weaksym = 42;
    
    int foo2()
    {
    	return weaksym;
    C
    - Registered: Tue Jan 30 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 257 bytes
    - Viewed (0)
  6. tensorflow/c/c_test_util.h

    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    // Create 1 dimensional tensor with values from `values`
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h

    // `mode`. The later is only used if `dst` needs to be created.
    int TransferFileContents(const char* src, const char* dst, mode_t mode,
                             off_t size);
    
    // Returns true only if `entry` points to an entry other than `.` or `..`.
    //
    // This is a filter for `scandir`.
    int RemoveSpecialDirectoryEntries(const struct dirent* entry);
    
    }  // namespace tf_posix_filesystem
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

    TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext(
        TF_OpKernelContext* ctx, int index, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_LockVariableInfos(TF_VariableInfo** vars,
                                                    int num_vars,
                                                    TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo(
    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)
  9. tensorflow/c/eager/tfe_executor_internal.h

    #include <memory>
    
    #include "tensorflow/core/common_runtime/eager/eager_executor.h"
    
    struct TFE_Executor {
      explicit TFE_Executor(bool async, bool enable_streaming_enqueue,
                            int in_flight_nodes_limit)
          : owned_executor(new tensorflow::EagerExecutor(
                async, enable_streaming_enqueue, in_flight_nodes_limit)) {}
    
      explicit TFE_Executor(tensorflow::EagerExecutor* executor)
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Nov 22 20:30:59 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_internal.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    
    // Represents the results of the execution of an operation.
    struct OutputList {
      std::vector<AbstractTensorHandle*> outputs;
      int expected_num_outputs = -1;
    };
    
    namespace tracing {
    
    // =============================================================================
    // Implementation detail for the unified execution APIs for Eager and tracing
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top