- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for TF_Bool (0.12 sec)
-
tensorflow/c/c_api_macros.h
#else #define TF_CAPI_EXPORT __attribute__((visibility("default"))) #endif // TF_CAPI_WEAK #endif // _WIN32 #endif // SWIG // TF_Bool is the C API typedef for unsigned char, while TF_BOOL is // the datatype for boolean tensors. #ifndef TF_Bool #define TF_Bool unsigned char #endif // TF_Bool // Macro used to calculate struct size for maintaining ABI stability across // different struct implementations. #ifndef TF_OFFSET_OF_END
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat May 13 04:44:45 UTC 2023 - 1.6K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
return nullptr; } void HostMemoryDeallocate(const SP_Device* const device, void* mem) {} TF_Bool GetAllocatorStats(const SP_Device* const device, SP_AllocatorStats* const stats) { return true; } TF_Bool DeviceMemoryUsage(const SP_Device* const device, int64_t* const free, int64_t* const total) { return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
graph_properties); } void TF_InferStatically(TF_GraphProperties* graph_properties, TF_Bool assume_valid_feeds, TF_Bool aggressive_shape_inference, TF_Bool include_input_tensor_values, TF_Bool include_output_tensor_values, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); absl::Status s =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 15K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
// If it is not available, return false. TF_Bool (*get_allocator_stats)(const SP_Device* device, SP_AllocatorStats* stats); // Fills the underlying device memory usage information, if it is // available. If it is not available (false is returned), free/total need not // be initialized. TF_Bool (*device_memory_usage)(const SP_Device* device, int64_t* free,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// be included in the output properties. TF_CAPI_EXPORT extern void TF_InferStatically( TF_GraphProperties* graph_properties, TF_Bool assume_valid_feeds, TF_Bool aggressive_shape_inference, TF_Bool include_input_tensor_values, TF_Bool include_output_tensor_values, TF_Status* s); // Get the size of input OpInfo::TensorProperties given node name. TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 03 18:08:43 UTC 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/tf_datatype.h
TF_UINT8 = 4, TF_INT16 = 5, TF_INT8 = 6, TF_STRING = 7, TF_COMPLEX64 = 8, // Single-precision complex TF_COMPLEX = 8, // Old identifier kept for API backwards compatibility TF_INT64 = 9, TF_BOOL = 10, TF_QINT8 = 11, // Quantized int8 TF_QUINT8 = 12, // Quantized uint8 TF_QINT32 = 13, // Quantized int32 TF_BFLOAT16 = 14, // Float32 truncated to 16 bits. TF_QINT16 = 15, // Quantized int16
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
ASSERT_TRUE(deallocate_called); } TEST_F(StreamExecutorTest, GetAllocatorStats) { se_.get_allocator_stats = [](const SP_Device* const device, SP_AllocatorStats* const stat) -> TF_Bool { stat->struct_size = SP_ALLOCATORSTATS_STRUCT_SIZE; stat->bytes_in_use = 123; return true; }; StreamExecutor* executor = GetExecutor(0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/runtime_test.cc
} TEST_P(RuntimeTest, CreateHostTensorIncompatibleDataType) { Runtime runtime = RuntimeTest::GetParam()(); EXPECT_THAT(runtime.CreateHostTensor<float>({1}, TF_BOOL, {2.0f}), StatusIs(absl::StatusCode::kInvalidArgument, HasSubstr("Invalid number of bytes in data buffer"))); } TEST_P(RuntimeTest, TensorCopyInvalidSize) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 09 12:27:54 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) { DLDataType dtype; dtype.lanes = 1; dtype.bits = TF_DataTypeSize(data_type) * 8; switch (data_type) { case TF_DataType::TF_BOOL: dtype.code = DLDataTypeCode::kDLBool; break; case TF_DataType::TF_HALF: case TF_DataType::TF_FLOAT: case TF_DataType::TF_DOUBLE: dtype.code = DLDataTypeCode::kDLFloat; break;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td
def TF_VariantRef : TF_TensorFlowType<"VariantRef", "variantref">; //===----------------------------------------------------------------------===// // Integer types (including corresponding reference types) def TF_Bool : AnyTypeOf<[I<1>, TF_BoolRef], "bool">; def TF_Int4 : AnyTypeOf<[SI<4>, TF_Int4Ref], "4-bit integer">; def TF_Int8 : AnyTypeOf<[I8, TF_Int8Ref], "8-bit integer">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 30.5K bytes - Viewed (0)