tensorflow::PartialTensorShapeUtils

#include <partial_tensor_shape.h>

Static helper routines for PartialTensorShape.

Summary

Includes a few common predicates on a partially known tensor shape.

Public static functions

AreCompatible(const gtl::ArraySlice< PartialTensorShape > & shapes0, const gtl::ArraySlice< PartialTensorShape > & shapes1)
bool
AreIdentical(const gtl::ArraySlice< PartialTensorShape > & shapes0, const gtl::ArraySlice< PartialTensorShape > & shapes1)
bool
PartialShapeListString(const gtl::ArraySlice< PartialTensorShape > & shapes)
string

Public static functions

AreCompatible

bool AreCompatible(
  const gtl::ArraySlice< PartialTensorShape > & shapes0,
  const gtl::ArraySlice< PartialTensorShape > & shapes1
)

AreIdentical

bool AreIdentical(
  const gtl::ArraySlice< PartialTensorShape > & shapes0,
  const gtl::ArraySlice< PartialTensorShape > & shapes1
)

PartialShapeListString

string PartialShapeListString(
  const gtl::ArraySlice< PartialTensorShape > & shapes
)