- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 233 for data_type_ (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
Status DemangleTensor(absl::string_view str, TensorProto* proto) { return ParseTextProto(str, kTensorPrefix, proto); } string MangleDataType(const DataType& dtype) { return absl::StrCat(kDataTypePrefix, DataType_Name(dtype)); } Status DemangleDataType(absl::string_view str, DataType* proto) { absl::string_view pbtxt; TF_RETURN_IF_ERROR(ConsumePrefix(str, kDataTypePrefix, &pbtxt)); if (!DataType_Parse(string(pbtxt), proto)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
explicit AbstractTensorHandle(AbstractTensorHandleKind kind) : kind_(kind) {} ~AbstractTensorHandle() override {} public: // Returns tensor dtype. virtual tensorflow::DataType DataType() const = 0; // Returns the status of the tensor handle. If it is a tfrt::TensorHandle, // the tensor handle can be an error and return non-OK status. virtual tensorflow::Status TensorHandleStatus() const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 00:30:36 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/constant_loading_test.cc
#include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { class ConstantTest : public ::testing::TestWithParam< std::tuple<DataType, std::vector<int64_t>, bool>> { public: ConstantTest() : device_mgr_(testing::CreateTestingDeviceMgr()), ctx_(testing::CreateTestingEagerContext(device_mgr_.get())) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 4.2K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
#include "tensorflow/core/protobuf/trackable_object_graph.pb.h" namespace tf { namespace libtf { namespace runtime { using tensorflow::AbstractContext; using tensorflow::AbstractFunctionPtr; using tensorflow::DataType; using tensorflow::FunctionDef; using tensorflow::PartialTensorShape; using tensorflow::SavedConcreteFunction; using tensorflow::SavedObjectGraph; using tensorflow::Status; using tensorflow::StructuredValue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/c/eager/gradients_internal.h
ForwardOperation*); Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value, ForwardOperation*); Status SetAttrType(AbstractOperation*, const char* attr_name, DataType value, ForwardOperation*); Status SetAttrShape(AbstractOperation*, const char* attr_name, const int64_t* dims, const int num_dims, ForwardOperation*);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Oct 24 11:27:35 UTC 2021 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const { StringRef data_type; if (parser.parseKeyword(&data_type)) return Type(); if (data_type == "control") return ControlType::get(getContext()); if (data_type == "token") return TokenType::get(getContext()); parser.emitError(parser.getNameLoc()) << "unknown tf_executor type: " << data_type; return nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/c/tf_datatype.cc
#include "tensorflow/c/tf_datatype.h" #include "tensorflow/core/framework/types.h" size_t TF_DataTypeSize(TF_DataType dt) { return static_cast<size_t>( tensorflow::DataTypeSize(static_cast<tensorflow::DataType>(dt)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 19:14:59 UTC 2019 - 900 bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/variable_test.cc
class VariableTest : public ::testing::TestWithParam<std::tuple<const char*, bool>> { public: template <class T, TF_DataType datatype> impl::TaggedValueTensor CreateScalarTensor(T val) { AbstractTensorHandle* raw = nullptr; Status s = TestScalarTensorHandle<T, datatype>(ctx_.get(), val, &raw); CHECK_EQ(tensorflow::errors::OK, s.code()) << s.message(); return impl::TaggedValueTensor(raw, /*add_ref=*/false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc
void InsertDummyIslandForFetch(FetchOp fetch) { llvm::SmallVector<Value, 4> data_fetches; llvm::SmallVector<Type, 4> data_types; llvm::SmallVector<Value, 4> control_fetches; data_fetches.reserve(fetch.getFetches().size()); data_types.reserve(data_fetches.capacity()); control_fetches.reserve(data_fetches.capacity()); for (auto value : fetch.getFetches()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/serialization/SchemaSerialization.kt
import org.gradle.declarative.dsl.schema.DataClass import org.gradle.declarative.dsl.schema.DataParameter import org.gradle.declarative.dsl.schema.DataProperty import org.gradle.declarative.dsl.schema.DataType import org.gradle.declarative.dsl.schema.DataTypeRef import org.gradle.declarative.dsl.schema.FqName import org.gradle.declarative.dsl.schema.FunctionSemantics import org.gradle.declarative.dsl.schema.ParameterSemantics
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:03 UTC 2024 - 6.6K bytes - Viewed (0)