Home
last modified time | relevance | path

Searched refs:IsFullyDefined (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dpartial_tensor_shape_test.cc113 EXPECT_FALSE(a.IsFullyDefined()); in TEST()
114 EXPECT_FALSE(c.IsFullyDefined()); in TEST()
115 EXPECT_TRUE(b.IsFullyDefined()); in TEST()
116 EXPECT_TRUE(d.IsFullyDefined()); in TEST()
117 EXPECT_TRUE(e.IsFullyDefined()); in TEST()
118 EXPECT_FALSE(f.IsFullyDefined()); in TEST()
264 EXPECT_FALSE(shape.IsFullyDefined()); in TEST()
266 EXPECT_TRUE(shape.IsFullyDefined()); in TEST()
Dtensor_shape.h309 bool IsFullyDefined() const { return !kIsPartial || num_elements() != -1; } in IsFullyDefined() function
Dtensor_shape.cc927 if (IsFullyDefined()) { in AsTensorShape()
/external/tensorflow/tensorflow/core/kernels/
Dlist_kernels.h88 partial_element_shape.IsFullyDefined() || in Compute()
96 if (!tensor_list->element_shape.IsFullyDefined()) { in Compute()
197 if (!partial_element_shape.IsFullyDefined()) { in Compute()
327 element_shape_except_first_dim.IsFullyDefined(), in Compute()
340 if (!tensor_list->element_shape.IsFullyDefined()) { in Compute()
569 c, partial_element_shape.IsFullyDefined() || indices.NumElements() > 0, in Compute()
576 if (!tensor_list->element_shape.IsFullyDefined()) { in Compute()
Dtensor_array.h479 } else if (identical_element_shapes_ && !element_shape_.IsFullyDefined()) { in LockedWriteOrAggregate()
568 } else if (!element_shape_.IsFullyDefined()) { in LockedRead()
Dpadding_fifo_queue.cc189 bool has_dynamic_shape = !partial_shape.IsFullyDefined(); in TryDequeueMany()
Dtensor_array_ops.cc638 OP_REQUIRES(ctx, element_shape_.IsFullyDefined(), in Compute()
842 ctx, element_shape_except0_.IsFullyDefined(), in Compute()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc143 if (!compute_opts_->output_shapes.at(index).IsFullyDefined()) { in SetRetval()
296 if (output_shapes_.at(i).IsFullyDefined()) { in SetupOutputs()
/external/tensorflow/tensorflow/core/common_runtime/
Dconstant_folding.cc92 if (!shape.IsFullyDefined()) { in MaybeReplaceShapeOrShapeNOp()
148 if (!input_shapes[0].IsFullyDefined()) { in MaybeReplaceSizeOp()
243 if (out_shape.IsFullyDefined() && in IsConstantFoldable()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util.cc37 TF_RET_CHECK(tshape.IsFullyDefined() && in HostTensorToBorrowingLiteral()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc417 if ((op != "Rank" && !shape.IsFullyDefined()) || in MaterializeShapes()
502 if (!shape.IsFullyDefined()) { in MaterializeShapes()
840 if (!PartialTensorShape(output_shape).IsFullyDefined()) { in MaterializeConstantValuedNode()
1010 if (input_shape.IsFullyDefined()) { in IsFoldableUncached()
1017 if (output_shape.IsFullyDefined()) { in IsFoldableUncached()
1701 if (!shape.IsFullyDefined()) { in IsSimplifiableReshape()
1820 if (!shape.IsFullyDefined()) { in ReplaceOperationWithBroadcastTo()
2997 if (shp.IsFullyDefined() && IsLogicalOr(*node) && (y_is_one || x_is_one)) { in SimplifyArithmeticOperations()
3010 if (shp.IsFullyDefined()) { in SimplifyArithmeticOperations()
3354 if (c_shape.IsFullyDefined() && x_shape.IsFullyDefined() && in ConstantPushDown()
Dmemory_optimizer.cc608 if (!shp.IsFullyDefined()) { in SchedulingPass()
Darithmetic_optimizer.cc2644 PartialTensorShape(output_shape).IsFullyDefined()) { in TrySimplify()
/external/tensorflow/tensorflow/core/nccl/
Dnccl_rewrite.cc204 bool is_fully_defined = TensorShape(shape_proto).IsFullyDefined(); in ReplaceBroadcast()
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_lib.cc392 if (expected_output_shapes[i].IsFullyDefined()) { in Join()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.cc534 if (!IsReady() && inference_shape_.IsFullyDefined()) { in Shape()
653 if (!IsReady() && inference_shape_.IsFullyDefined()) { in NumElements()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_support.cc458 if (static_shape.IsFullyDefined()) { in ComputeArgumentShapes()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_list_ops.cc124 if (!partial_shape.IsFullyDefined()) { in TryGetElementShapeFromInput()
Dtensor_array_ops.cc160 if (element_shape_.IsFullyDefined()) { in Compile()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_rewrite_pass.cc378 if (shape.IsFullyDefined()) continue; in BuildCompileOp()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op.cc440 [](PartialTensorShape shape) { return !shape.IsFullyDefined(); }); in TRTEngineOp()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc480 return ishape.shape.IsFullyDefined() in GetInferredShapeSize()
1715 if ((info->handle_type == DT_INVALID && !info->shape.IsFullyDefined()) || in GetArgAndRetvalShapes()
1717 !info->handle_shape.IsFullyDefined())) { in GetArgAndRetvalShapes()
2255 if (!shape->IsFullyDefined()) { in BuildDynamicShapeNodes()
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc295 if (!shape.IsFullyDefined()) { in GetInferredInputShapes()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties_test.cc1818 EXPECT_FALSE(shape.IsFullyDefined()); in TEST_F()