Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 263 for created (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

        if (failed(ApplyQuantizationSpec(spec, module_op))) {
          signalPassFailure();
          return;
        }
      }
    }
    
    }  // namespace
    
    // Creates `LiftQuantizableSpotsAsFunctionsPass` with user-defined
    // `QuantizationSpecs`.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
        const QuantizationSpecs& quantization_specs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

          } else {
            if (IsCompatibleTypeWithTFLCastOp(value.getType()) &&
                IsCompatibleTypeWithTFLCastOp(type)) {
              auto cast = b.create<CastOp>(yield_op->getLoc(), type, value);
              args.push_back(cast);
            } else {
              auto cast = b.create<TF::CastOp>(yield_op->getLoc(), type, value);
              args.push_back(cast);
            }
          }
        }
        args.append(new_args.begin(), new_args.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

    }
    
    // Creates a wrapper island enclosing the `sub_op` dependent on
    // `control_inputs`.
    IslandOp CreateIsland(Operation* sub_op, ValueRange control_inputs,
                          OpBuilder builder) {
      assert(sub_op);
      auto control_type = ControlType::get(builder.getContext());
      auto island = builder.create<IslandOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/math_grad.cc

        // Calculate conjugate of X
        std::string name = "Conj_Log1p_Grad_X";
        TF_RETURN_IF_ERROR(SafeConj(ctx, X, &temp_output, name.c_str()));
    
        AbstractTensorHandlePtr Conj_X(temp_output);
    
        // Creates Ones
        name = "OnesLike_Log1p_Grad_X";
        TF_RETURN_IF_ERROR(OnesLike(ctx, Conj_X.get(), &temp_output, name.c_str()));
    
        AbstractTensorHandlePtr Ones_X(temp_output);
    
        name = "Add_Log1p_Grad_X";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

          "_xla", "_oc", "cluster", name_attrs, "cluster_rewritten", "host_graph",
          host_compute_core, &fld, &shape_inference_graphs,
          &has_outside_compilation));
    
      // Check host graph is not created.
      EXPECT_EQ(fld.Find("host_graph"), nullptr);
    }
    
    TEST_F(ExtractOutsideCompilationForFunctionTest, OutsideCompilationInIf) {
      // Build the XLA computation func.
      // "const0" (bool)
      // "const1" (int32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

            auto s_qconst =
                builder.create<SparseQConstOp>(op->getLoc(), cst.getQtypeAttr(),
                                               cst.getValue(), s_param, new_value);
            value.replaceAllUsesWith(s_qconst.getResult());
            cst.erase();
          }
    
          if (result.needs_densify) {
            auto value = op->getOperand(operand);
            auto densify =
                builder.create<DensifyOp>(op->getLoc(), value.getType(), value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/jit/deadness_analysis_test.cc

        ::tensorflow::protobuf::TextFormat::PrintToString(graph_def, &serialized);
        LOG(INFO) << serialized;
      }
    }
    
    struct InductionVarInfo {
      Output induction_var;
      Output loop_cond;
    };
    
    // Creates an induction variable with the following structure (simplified for
    // brevity):
    //
    //            +---------------+
    //            | initial_value |
    //            +---------------+
    //              |
    //              |
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top