Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for do (0.02 sec)

  1. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

    //    *different* variables
    //  - they make the blanket assumption that any functions called cause or depend
    //    on side effects (i.e., access resource variables.)
    //
    // By moving the logic to compile time, we will be able to do a finer-grained
    // data flow analysis in the future, which will enable more optimizations.
    // This could happen in two steps:
    // (1) build multiple dependency chains (one per variable), still treating
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/function.cc

        absl::Span<tensorflow::AbstractTensorHandle* const> inputs,
        absl::Span<tensorflow::AbstractTensorHandle*> outputs) {
      // TODO(srbs): Provide a function execution API on ctx so that we do not
      // expose the internals of how functions are to be executed here.
      std::string fname;
      {
        const tensorflow::FunctionDef* fdef = nullptr;
        TF_RETURN_IF_ERROR(trace->GetFunctionDef(&fdef));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

      Graph* graph_;
      int unique_name_counter_;
    };
    
    string CloneConstantsForBetterClusteringPassImpl::GenerateUniqueName(
        const absl::flat_hash_set<string>& name_set, absl::string_view prefix) {
      string candidate;
      do {
        candidate = absl::StrCat(prefix, "/clone_", unique_name_counter_++);
      } while (name_set.contains(candidate));
      return candidate;
    }
    
    absl::StatusOr<Node*> CloneConstantsForBetterClusteringPassImpl::CloneNode(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains a test and benchmark for the function generated by
    // tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to
    // real values before this file can be compiled.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. tensorflow/c/python_api.cc

    #include "tensorflow/core/framework/cpp_shape_inference.pb.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    
    namespace tensorflow {
    
    // Hack to export the tensorflow::RecordMutation symbol for windows.
    // Do not delete. Do not use.
    void ExportRecordMutation(  // NOLINT: Intentionally unused function.
        TF_Graph* graph, const TF_Operation& op, const char* mutation_type) {
      mutex_lock l(graph->mu);
      RecordMutation(graph, op, mutation_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

      if (!(indices_size == shared_name_size &&
            shared_name_size == container_size)) {
        return get_resource_op->emitError()
               << "length of attribute arrays do not match. indices = "
               << indices_size << ", shared_name = " << shared_name_size
               << ", container = " << container_size;
      }
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

            get_num_elements(input_type) <= get_num_elements(output_type)) {
          return failure();
        }
        Type input_element_type = getElementTypeOrSelf(dequantize_op.getInput());
        // Most passthrough ops do not support F16.
        if (input_element_type.isF16()) {
          return failure();
        }
    
        // Set the output type of the dequantize op and push it down.
        dequantize_op.getOutput().setType(output_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

    }
    
    void AddStablehloOptimizationPasses(OpPassManager& pm) {
      // The current plan of record is to avoid doing optimization passes
      // on StableHLO, treating StableHLO purely as an input format, and do all
      // optimizations via MHLO passes that can be shared with the OpenXLA compiler.
      // Therefore, this function inserts a StableHLO <=> MHLO roundtrip to make
      // this happen.
    
      // StableHLO -> MHLO legalization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

    // requantizing if a quantized output is required.
    //
    // The motivation behind these changes is for Dialects that assume only float
    // or quantized computation, and do not support a mixture of these types on
    // dense operations. Decomposition allows TFLite to be compiled to these
    // dialects, such as TOSA.
    
    #include <utility>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

        "/tensorflow/core/tf2xla/"
        "mlir_second_phase_non_static_op_count",
        "Counts which ops do not have static results", "op_name");
    
    auto* mlir_non_static_op_skip_count = tensorflow::monitoring::Counter<1>::New(
        "/tensorflow/core/tf2xla/"
        "mlir_second_phase_non_static_op_skip_count",
        "Counts skipped ops which do not have static results", "op_name");
    
    static const char* kMustBeConstantError =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top