- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_INT32 (0.06 sec)
-
tensorflow/c/eager/gradient_checker.cc
vector<int32_t> vals(num_dims_out); int64_t vals_shape[] = {num_dims_out}; Range(&vals, 0, num_dims_out); AbstractTensorHandle* sum_dims_raw = nullptr; TF_RETURN_IF_ERROR(TestTensorHandleWithDims<int32_t, TF_INT32>( ctx, vals.data(), vals_shape, 1, &sum_dims_raw)); sum_dims.reset(sum_dims_raw); } // Reduce sum the output on all dimensions.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
case TF_DataType::TF_FLOAT: case TF_DataType::TF_DOUBLE: dtype.code = DLDataTypeCode::kDLFloat; break; case TF_DataType::TF_INT8: case TF_DataType::TF_INT16: case TF_DataType::TF_INT32: case TF_DataType::TF_INT64: dtype.code = DLDataTypeCode::kDLInt; break; case TF_DataType::TF_UINT8: case TF_DataType::TF_UINT16: case TF_DataType::TF_UINT32:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.9K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(1, TF_OperationNumOutputs(add)); EXPECT_EQ(TF_INT32, TF_OperationOutputType(TF_Output{add, 0})); EXPECT_EQ(1, TF_OperationOutputListLength(add, "sum", s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(2, TF_OperationNumInputs(add)); EXPECT_EQ(2, TF_OperationInputListLength(add, "inputs", s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(TF_INT32, TF_OperationInputType(TF_Input{add, 0}));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)