- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getTid (0.19 sec)
-
tensorflow/c/c_test.c
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); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name); TF_WritableFileHandle* h;
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) -
tensorflow/c/eager/gradients.cc
handle_->Ref(); } TapeTensor::TapeTensor(const TapeTensor& other) { handle_ = other.handle_; handle_->Ref(); } TapeTensor::~TapeTensor() { handle_->Unref(); } int64_t TapeTensor::GetID() const { return ToId(handle_); } tensorflow::DataType TapeTensor::GetDType() const { return handle_->DataType(); } AbstractTensorHandle* TapeTensor::GetHandle() const { return handle_; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
}; // TODO(srbs): Figure out if we can avoid declaring this in the public header. // Wrapper for a tensor output of an operation executing under a tape. // // `GetID` returns a unique id for the wrapped tensor which is used to maintain // a map (`tensorflow::eager::TensorTape`) from the wrapped tensor to the id of // the op that produced it (or -1 if this tensor was watched using
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
for (const TapeTensor& o : output_tensors) { // Note: the tensor can have already been watched and hence be in the tape, // so we cannot check that we're inserting it here. tensor_tape_[o.GetID()] = op_id; tensor_usage_[o.GetID()] = 1; tensors.push_back(o); } op_tape_[op_id] = OpTapeEntry<BackwardFunction, TapeTensor>{ op_type, std::move(tensors), std::move(ids), backward_function_getter(),
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) -
tensorflow/c/experimental/gradients/tape/tape_context.h
Status RegisterFunction(AbstractFunction*) override; Status RemoveFunction(const string& func) override; // For LLVM style RTTI. static bool classof(const AbstractContext* ptr) { return ptr->getKind() == kTape; } ~TapeContext() override; private: AbstractContext* parent_ctx_; // Not owned. Tape* tape_; const GradientRegistry& registry_; }; } // namespace gradients
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractFunctionKind getKind() const { return kind_; } // Returns the AbstractFunction as a FunctionDef. virtual Status GetFunctionDef(const FunctionDef**) = 0; // Returns a shared reference to the wrapped function.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
absl::Span<const AbstractOperation*> values) override; AbstractOperation* GetBackingOperation(); // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kTape; } ~TapeOperation() override; private: AbstractOperation* parent_op_; ForwardOperation forward_op_; Tape* tape_; const GradientRegistry& registry_; };
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 3.7K bytes - Viewed (1)