Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for Platen (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // -------------------------------------------------------------------------- //
    
    // Clustering policy specifies if the operation can be clustered (in practice it
    // usually means that operation can be added to a cluster that will be later
    // compiled) given the set of constraints on its results, and might propagate or
    // create new constraints on the operation operands.
    //
    // Clustering policy must make a local decision just for a single operation. It
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.cc

        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
        // function op outputs to have nullptrs at the `null_indices`.
        absl::flat_hash_set<int> null_indices;
        {
          AbstractContextPtr func_ctx(BuildFunction(fn_name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/cluster_scoping_pass.cc

    // Node_Y will receive both scopes "unstage" and "stage", while Node_X receives
    // only scope "stage".  The semantic of scope "unstage" is preserved although
    // scope "stage" is later appended.  As a result, Node_X and Node_Y will be put
    // into different clusters.
    //
    //                Unstage -> Node_Y (scope "unstage & stage")
    //                              |
    //                              V
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

        // Generate a Max and an ArgMax of as the mhlo op returns both while in TF
        // we have separate ops for them. If only one of them is used then the other
        // one will be garbage collected later.
        if (!mlir::isa<ShapedType>(operand.getType())) return failure();
        auto operand_type = mlir::cast<ShapedType>(operand.getType());
        if (operand_type.getElementType().isInteger(1)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

        return false;
      }
    
      // If any of the result types are variants, don't try to constant fold them.
      // This creates opaque variant constants which lose information and would
      // require "raising" later.
      for (const Type type : inst->getResultTypes()) {
        if (const TensorType tensor_type = mlir::dyn_cast<TensorType>(type)) {
          if (mlir::isa<VariantType>(tensor_type.getElementType())) {
            return false;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    read/assign ops on local variables. A later resource lifting pass can further
    remove the local variables.
    
    This pass requires that the full shape of the tensor array can be inferred:
    1) the size needs to be a constant, 2) it specifies the full element shape,
    or that can be inferred from a later write, and 3) all elements have the same
    shape.
    ### `-tf-tensor-device-copy`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

        for (const int itensor : operations_[ioperation].tensors) {
          if (const Tensor& tensor = tensors_[itensor];
              tensor.first_use() == ioperation /* output */ &&
              tensor.last_use() > peak_loc /* used later */) {
            max_savings += tensor.size;
          }
        }
      }
      return max_savings;
    }
    
    std::tuple<Rematerializer::SizeT, Rematerializer::RematSpec>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

    // with appropriate shape to match with the shape of XlaDotV2 result.
    // We didn't apply XlaEinsum or XlaDotV2 for this work, since it would loose
    // the chance for constant folding later. We could try to add some
    // postprocessing passes later to further optimize the graph after constant
    // folding.
    Value CreateZeroPointPartialOffsetXlaDotV2(
        OpBuilder &builder, Location loc, Value tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

        if (stateless && stateless.getValue())
          *node_def->mutable_op() = "Stateless" + node_def->op();
      }
    
      // Add inputs to the NodeDef based on the number of operands. This is required
      // as later when edges are added to the Node using Graph::AddEdge the
      // associated NodeDef is not updated.
      for (int i = 0, e = inst->getNumOperands(); i < e; ++i) {
        node_def->add_input();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. tensorflow/c/kernels_experimental.cc

        // because a race condition can happen between this and another thread that
        // turns off some variable's `copy_on_read_mode` after this thread enables
        // sparse access; when a later function sees `copy_on_read_mode` is off, it
        // will try to lock the variable again for updating `copy_on_read_mode` and
        // cause the deadlock, since the variable mutex is non-re-entrant.
        for (auto* var : vars) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top