Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 159 for created (0.13 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

          RankedTensorType::get(static_cast<int32_t>(1), builder.getI32Type());
      auto out_segids_cst = builder.create<TFL::ConstOp>(
          builder.getI32TensorAttr(flattened_out_segids));
      auto contracting_segids_cst = builder.create<TFL::ConstOp>(
          builder.getI32TensorAttr(flattened_contracting_segids));
      auto num_segids_tensor =
          builder.create<TFL::ConstOp>(DenseIntElementsAttr::get(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/flags.cc

               "Disable deadness related safety checks when clustering (this is "
               "unsound)."),
          Flag("tf_xla_disable_resource_variable_safety_checks_for_debugging",
               &mark_for_compilation_flags
                    ->tf_xla_disable_resource_variable_safety_checks_for_debugging,
               "Disable resource variables related safety checks when clustering "
               "(this is unsound)."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader.cc

      explicit LiteSessionWrapper(std::unique_ptr<Session> wrapped)
          : wrapped_(std::move(wrapped)) {}
    
      Status Create(const GraphDef& graph) override {
        return absl::UnimplementedError("Session::Create()");
      }
      Status Create(GraphDef&& graph) override {
        return absl::UnimplementedError("Session::Create()");
      }
    
      Status Extend(const GraphDef& graph) override {
        return absl::UnimplementedError("Session::Extend()");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

        return a->isBeforeInBlock(b);
      });
    
      // Create tf_device::ClusterOp before the last operation in the block that
      // is a part of a match set.
      auto back = cluster.operations.back();
      auto loc = back->getLoc();
      OpBuilder builder(back);
    
      auto cluster_op =
          builder.create<tf_device::ClusterOp>(loc, return_types, policy);
    
      // Create block in cluster_op's region and move 'cluster.operations' into
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

      SliceInputs slice_inputs_int64 =
          MakeSliceIndexAndSizeInt64(host_scope, slice_inputs);
    
      // Create a list of all control dependencies to be copied when possibly
      // replacing nodes related to slice_size.
      Node* old_size;
      std::vector<const Edge*> old_size_ctrl_deps;
      TF_RETURN_IF_ERROR(slice->input_node(2, &old_size));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      Value tensor_i32 = builder.create<TF::CastOp>(
          loc, tensor_type.clone(builder.getIntegerType(32)), tensor);
      auto reduced =
          builder.create<TF::SumOp>(loc, tensor_i32, reduction_indices_value,
                                    /*keep_dims=*/builder.getBoolAttr(true));
      auto mul_op = builder.create<TF::MulOp>(loc, zp, reduced);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/cc_op_gen_util.cc

        is_list_output.push_back(is_list);
      }
    
      strings::StrAppend(&comment, "\nReturns:\n");
      if (graph_op_def.output_arg_size() == 0) {  // No outputs.
        strings::StrAppend(&comment, "* the created `Operation`\n");
      } else if (graph_op_def.output_arg_size() == 1) {  // One output
        if (is_list_output[0]) {
          strings::StrAppend(&comment, "* `OutputList`: ");
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // Add i32 -> i8 requantization.
      UniformQuantizeOp uniform_quant_op = rewriter.create<UniformQuantizeOp>(
          op.getLoc(), func_result_type, op.getResults());
      cast<func::ReturnOp>(entry_func_op.getBody().front().getTerminator())
          .setOperand(0, uniform_quant_op);
    }
    
    template <typename GemmStyleOp>
    // Creates a quantized bias pattern for static and dynamic shape case
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

    // be created).
    static void DumpModule(mlir::ModuleOp module, std::string file_prefix) {
      std::string prefix = GetDumpDirFromEnvVar();
      if (prefix.empty()) return;
    
      auto* env = tensorflow::Env::Default();
      auto status = env->RecursivelyCreateDir(prefix);
      if (!status.ok()) {
        LOG(WARNING) << "cannot create directory '" << prefix
                     << "': " << status.message();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      // It's here so xla::Parameters that are created form block.getArguments will
      // have the proper shapes.
      TF_RETURN_IF_ERROR(RefineShapes(arg_shapes, module_op));
    
      mlir::func::FuncOp main = module_op.lookupSymbol<mlir::func::FuncOp>("main");
      mlir::Block& block = main.getRegion().front();
      xla::XlaBuilder builder("main");
    
      // Create xla_params.
      std::vector<xla::XlaOp> xla_params;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top