Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for returns (0.17 sec)

  1. tensorflow/c/eager/c_api.h

                                                      int dim_index,
                                                      TF_Status* status);
    
    // Returns the device of the operation that produced `h`. If `h` was produced by
    // a copy, returns the destination device of the copy. Note that the returned
    // device name is not always the device holding the tensor handle's memory. If
    // you want the latter, use TFE_TensorHandleBackingDeviceName. This function
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/eager/graph_function.h

      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    // MakeCleanup(f) returns an RAII cleanup object that calls 'f' in its
    // destructor. The easiest way to use MakeCleanup is with a lambda argument,
    // capturing the return value in an 'auto' local variable. Most users will not
    // need more sophisticated syntax than that.
    //
    // Example:
    //   void func() {
    //     FILE* fp = fopen("data.txt", "r");
    //     if (fp == nullptr) return;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_operation.h

      virtual const string& Name() const = 0;
    
      // Returns the operation's device name.
      //
      // The value returned may be different from the one set by SetDeviceName, but
      // it will be compatible with it: the name will be updated by device placement
      // logic to refer to the specific device chosen.
      //
      // Example: If one calls `op->SetDeviceName("/device:GPU")`, the value
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

        tf_results->return_tensors[i].oper =
            ToOperation(results.return_tensors[i].first);
        tf_results->return_tensors[i].index = results.return_tensors[i].second;
      }
    
      // Populate return_nodes
      DCHECK(tf_results->return_nodes.empty());
      tf_results->return_nodes.resize(results.return_nodes.size());
      for (int i = 0; i < results.return_nodes.size(); ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/c/env.h

    // The caller is responsible for freeing the returned pointer.
    TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension);
    
    // Returns the number of nanoseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void);
    
    // Returns the number of microseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void);
    
    // Returns the number of seconds since the Unix epoch.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    // Import the graph serialized in `graph_def` into `graph`.
    // Convenience function for when only return outputs are needed.
    //
    // `num_return_outputs` must be the number of return outputs added (i.e. the
    // result of TF_ImportGraphDefOptionsNumReturnOutputs()).  If
    // `num_return_outputs` is non-zero, `return_outputs` must be of length
    // `num_return_outputs`. Otherwise it can be null.
    TF_CAPI_EXPORT extern void TF_GraphImportGraphDefWithReturnOutputs(
    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)
  8. tensorflow/c/c_test.c

      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/nn_grad.cc

        return absl::OkStatus();
      }
      ~BiasAddGradientFunction() override {}
    
     private:
      AttrBuilder forward_attrs_;
    };
    
    }  // namespace
    
    GradientFunction* ReluRegisterer(const ForwardOperation& op) {
      return new ReluGradientFunction(op.outputs);
    }
    
    GradientFunction* SparseSoftmaxCrossEntropyWithLogitsRegisterer(
        const ForwardOperation& op) {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental.cc

        msg += comma + factory;
        comma = ", ";
      }
      msg += ")";
    
      return errors::InvalidArgument(msg.c_str());
    }
    
    static TracingContext* CreateTracingExecutionContext(const char* fn_name,
                                                         TF_Status* s) {
      if (default_factory) {
        return default_factory(fn_name, s);
      }
      tsl::Set_TF_Status_from_Status(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top