Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AsTensorShape (0.09 sec)

  1. tensorflow/compiler/jit/shape_inference_test.cc

      EXPECT_NE(iter, shape_info.end());
      EXPECT_EQ(iter->second.size(), 1);
      EXPECT_EQ(iter->second.at(0).handle_type, DT_FLOAT);
      TensorShape resource_shape;
      EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape));
      EXPECT_EQ(resource_shape, TensorShape({2, 3}));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top