Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VariableShape (0.29 sec)

  1. tensorflow/compiler/jit/shape_inference.cc

          }
        }
    
        // Sometimes we have VariableShape nodes in while loop (after Enter nodes).
        // They won't be constant-folded because TensorFlow constant folding does
        // not handle Enter nodes (and thus does not handle any nodes after Enter
        // nodes). We try to replace such VariableShape nodes with Const nodes here.
        if (n->type_string() == "VariableShape") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

          (TF_ExpandDimsOp $indices,
           (TF_ConstOp (GetScalarOfType<-1> $indices))),
          $updates
        ),
        (CreateConstBoolAttrFalse)
      )>;
    
    // Pattern to decompose tf.VariableShape into tf.ReadVariable and tf.Shape.
    def DecomposeVariableShape : Pat<
      (TF_VariableShapeOp:$src_op $resource),
      (TF_ShapeOp (CreateTFReadVariableOpFromResourceHandle $src_op, $resource)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top