- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 185 for data_type_ (0.33 sec)
-
tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc
#include "tensorflow/core/protobuf/saved_object_graph.pb.h" namespace tensorflow { namespace { class SavedVariableLoadingTest : public ::testing::TestWithParam< std::tuple<DataType, std::vector<int64_t>>> { public: SavedVariableLoadingTest() { SessionOptions options; options.config.mutable_device_count()->insert({"CPU", 3}); std::vector<std::unique_ptr<Device>> devices;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt
val error = result.errors.singleOrNull() assertNotNull(error) val reason = error.errorReason assertIs<ErrorReason.AssignmentTypeMismatch>(reason) assertIs<DataType.StringDataType>(reason.expected) assertIs<DataType.IntDataType>(reason.actual) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/resolution.kt
data class ValReassignment(val localVal: LocalValue) : ErrorReason data class ExternalReassignment(val external: ObjectOrigin.External) : ErrorReason data class AssignmentTypeMismatch(val expected: DataType, val actual: DataType) : ErrorReason // TODO: these two are never reported for now, instead it is UnresolvedFunctionCallSignature data object UnusedConfigureLambda : ErrorReason data object MissingConfigureLambda : ErrorReason
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/variable_ops.h
DataType dtype, TensorShape shape, const char* raw_device_name, ImmediateTensorHandlePtr* handle); // Executes an AssignVariableOp using `ctx`, assigning the variable associated // with `variable_handle` with `value`. `dtype` must be the datatype of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 21:44:45 UTC 2022 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
hoisted_read(nullptr), data_type(nullptr), result_index(-1) {} bool IsResultIndexAssigned() { return result_index != -1; } // Refine the resource type using the given type `type`. void RefineType(Type type) { if (!data_type) { data_type = type; } else { data_type = TF::GetCastCompatibleType(data_type, type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
{{"outside_compilation_O1_host_compute"}, "XlaHostCompute", {"C:o:0", "c:o:0"}, {{"Tinputs", absl::Span<const DataType>({DT_FLOAT, DT_FLOAT})}, {"Toutputs", absl::Span<const DataType>({DT_FLOAT})}, {"ancestors", absl::Span<const string>({})}, {"key", "host_compute_channel_F1_F1_O1"}, {"send_key", ""},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
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_; } AbstractTensorHandle* TapeTensor::ZerosLike() const { return nullptr; } class TapeVSpace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_tensor_buffer_util.cc
#include "tsl/platform/statusor.h" namespace tensorflow { static size_t GetTensorSize(const TensorShape& shape, const DataType dtype) { return shape.num_elements() * DataTypeSize(dtype); } absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer( const DataType dtype, const TensorShape& shape, std::unique_ptr<xla::PjRtBuffer> pjrt_buffer) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 14 18:14:47 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
TFE_TensorHandle* input_eager = TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims); *tensor = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); } // Return a scalar tensor handle with given value. template <class T, TF_DataType datatype> Status TestScalarTensorHandle(AbstractContext* ctx, const T value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TF_Status* status) const; // Construct a parallel tensor consisting of the scalar values from `values`. template <typename DataType> std::unique_ptr<ParallelTensor> ScalarsFromSequence( absl::Span<const DataType> values, TFE_Context* context, TF_Status* status) const; // A parallel tensor with scalar integers numbering component devices.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 25 15:21:13 UTC 2023 - 12.9K bytes - Viewed (0)