- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for getVendor (0.1 sec)
-
tensorflow/cc/framework/cc_ops_test.cc
Tensor out; test::GetTensor(root, c1, &out); test::ExpectTensorEqual<float>(out, Tensor(DT_FLOAT, {0})); auto c2 = ops::Const(root, {{}}); TF_CHECK_OK(root.status()); test::GetTensor(root, c2, &out); test::ExpectTensorEqual<float>(out, Tensor(DT_FLOAT, {1, 0})); auto c3 = ops::Const(root, {{{}, {}}}); TF_CHECK_OK(root.status()); test::GetTensor(root, c3, &out);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/cc/framework/testutil.cc
namespace test { void GetTensors(const Scope& scope, OutputList tensors, std::vector<Tensor>* out) { ClientSession session(scope); TF_CHECK_OK(session.Run(tensors, out)); } void GetTensor(const Scope& scope, Output tensor, Tensor* out) { std::vector<Tensor> outputs; GetTensors(scope, {std::move(tensor)}, &outputs); *out = outputs[0]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 06:52:56 UTC 2017 - 1.8K bytes - Viewed (0) -
tensorflow/cc/framework/testutil.h
/// Computes the output 'tensor', returning the resulting tensor in 'out'. void GetTensor(const Scope& scope, Output tensor, Tensor* out); // Computes the output 'tensor', returning the resulting tensor in 'out'. // assign_vars are extra outputs that should be run // e.g. to assign values to variables. void GetTensor(const Scope& scope, const std::vector<Output>& assign_vars, Output tensor, Tensor* out);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:47:18 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
if (reader_ != nullptr) return reader_->DebugString(); return v2_reader_->DebugString(); } void CheckpointReader::GetTensor( const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const { Status status; if (reader_ != nullptr) { status = reader_->GetTensor(name, out_tensor); } else { tensorflow::DataType dtype; tensorflow::TensorShape shape;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 21:29:12 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/EnumsInManagedModelIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
const TensorSliceReader::VarToDataTypeMap& GetVariableToDataTypeMap() const; // Attempts to look up the tensor named "name" and stores the found result in // "out_tensor". void GetTensor(const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const; private: // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0)