- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MakeData (0.07 sec)
-
tensorflow/cc/gradients/image_grad_test.cc
} template <typename X_T, typename Y_T, typename JAC_T> void TestCropAndResize() { TensorShape x_shape({1, 4, 2, 1}); Tensor x_data = MakeData<X_T>(x_shape); TensorShape box_shape({1, 4}); Tensor boxes = MakeData<X_T>(box_shape); Output x, y; MakeOp<X_T>(x_data, boxes, {0}, {1, 1}, &x, &y); JAC_T max_error; TF_ASSERT_OK((ComputeGradientError<X_T, Y_T, JAC_T>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 15 04:08:05 UTC 2019 - 12.1K bytes - Viewed (0) -
pkg/scheduler/framework/cycle_state_test.go
package framework import ( "fmt" "testing" ) type fakeData struct { data string } func (f *fakeData) Clone() StateData { copy := &fakeData{ data: f.data, } return copy } var key StateKey = "fakedata_key" // createCycleStateWithFakeData creates *CycleState with fakeData. // The given data is used in stored fakeData.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 14 15:26:20 UTC 2022 - 3.9K bytes - Viewed (0)