Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for TensorArray (0.23 sec)

  1. tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.h

    // This class provides utilities for analyzing side effects for TensorArray ops
    // in the graph. mlir::TF::SideEffectAnalysis currently produces suboptimal
    // side-effect analysis for TensorArray ops. On the other hand, control
    // dependencies are already sorted out for TensorArray ops in the original TF
    // graph. Each TensorArray op will take or produce a `flow` value and they are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h

    };
    
    struct Stack : ::mlir::SideEffects::Resource::Base<Stack> {
      StringRef getName() final { return "Stack"; }
    };
    
    struct TensorArray : ::mlir::SideEffects::Resource::Base<TensorArray> {
      StringRef getName() final { return "TensorArray"; }
    };
    
    struct Summary : ::mlir::SideEffects::Resource::Base<Summary> {
      StringRef getName() final { return "Summary"; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 26 18:45:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util.h

        //
        // TODO(b/112837194): This restriction can be lifted with some work.
        bool allow_stack_ops = false;
    
        // Whether TensorArray operations are allowed.  We avoid auto-clustering
        // TensorArray operations in general because we do not support snapshotting
        // them.
        //
        // TODO(b/112837194): This restriction can be lifted with some work.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

              return t;
            } else if (auto scatter =
                           llvm::dyn_cast<TF::TensorArrayScatterV3Op>(user)) {
              // TensorArrayScatter writes vector of tensors to TensorArray. We can
              // deduce the shape of TensorArray by dropping the 0th dim of
              // TensorArrayScatter `value`.
              auto t = scatter.getValue().getType().dyn_cast<RankedTensorType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    If the given TensorArray gradient already exists, returns a reference to it.
    
    Locks the size of the original TensorArray by disabling its dynamic size flag.
    
    **A note about the input flow_in:**
    
    The handle flow_in forces the execution of the gradient lookup to occur
    only after certain other operations have occurred.  For example, when
    the forward TensorArray is dynamically sized, writes to this TensorArray
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      supported_ops->insert(OperationName(
          mlir::TF::SendTPUEmbeddingGradientsOp::getOperationName(), context));
    }
    
    // Stack, TensorList and TensorArray ops are rewritten during the second phase
    // of the bridge (compilation of TPUCompile op). They would not match any
    // legalization/canonicalization pattern and have to be manually added to the
    // list of supported ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util.cc

        LogNotCompilable(node, uncompilable_reason);
        return false;
      }
    
      if (!op_filter_.allow_tensor_array_ops && IsTensorArrayOp(node)) {
        absl::string_view uncompilable_reason = "TensorArray op";
        MaybeMarkUncompilableNode(uncompilable_reason, *stack_trace,
                                  encapsulating_function, uncompilable_nodes);
        LogNotCompilable(node, uncompilable_reason);
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

                                                            TF_Status* status);
    
    // Some TF ops need a step container to be set to limit the lifetime of some
    // resources (mostly TensorArray and Stack, used in while loop gradients in
    // graph mode). Calling this on a context tells it to start a step.
    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

            // to be in the same cluster because values flowing between them have
            // types that can't be live-in or live-out of a cluster.  These ops are:
            //
            //  - TensorArray ops operating on the same TensorArray instance.
            //  - Stack ops operating on the same Stack instance.
            //
            // To work around this we avoid isolating these specific ops.  Because
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    }
    
    // Resource types
    def TF_VariableResource : TF_ResourceBase<"Variable">;
    def TF_StackResource : TF_ResourceBase<"Stack">;
    def TF_TensorArrayResource : TF_ResourceBase<"TensorArray">;
    def TF_SummaryResource : TF_ResourceBase<"Summary">;
    def TF_LookupTableResource : TF_ResourceBase<"LookupTable">;
    def TF_DatasetSeedGeneratorResource : TF_ResourceBase<"DatasetSeedGenerator">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top