- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AbstractContext (0.14 sec)
-
tensorflow/c/eager/immediate_execution_context.h
// Abstract interface to a context. // // A context is responsible for creating key objects such as Tensors, // TensorHandles & Operations. class ImmediateExecutionContext : public AbstractContext { public: // Optimized scalar creation functions virtual AbstractTensorInterface* CreateInt64Scalar(int64_t value) = 0; virtual AbstractTensorInterface* CreateUint64Scalar(uint64 value) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
// tensor. int64_t ToId(const AbstractTensorHandle* t) { return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t)); } absl::Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* t, AbstractTensorHandle** result) { AbstractOperationPtr op(ctx->CreateOperation()); TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
return errors::Unimplemented( "GraphContext::RemoveFunction has not been implemented yet."); } // For LLVM style RTTI. static bool classof(const AbstractContext* ptr) { return ptr->getKind() == kGraph; } private: std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> graph_; std::vector<TF_Output> inputs_; string name_; };
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0)