Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for set_is_set (0.17 sec)

  1. tensorflow/c/python_api.cc

    }
    
    std::string GetHandleShapeAndType(TF_Graph* graph, TF_Output output) {
      Node* node = &output.oper->node;
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      handle_data.set_is_set(true);
      {
        mutex_lock l(graph->mu);
        tensorflow::shape_inference::InferenceContext* ic =
            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);
        CHECK_LT(output.index, ic->num_outputs());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    }
    
    TF_Buffer* TF_GetHandleShapeAndType(TF_Graph* graph, TF_Output output) {
      Node* node = &output.oper->node;
      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      handle_data.set_is_set(true);
      {
        mutex_lock l(graph->mu);
        tensorflow::shape_inference::InferenceContext* ic =
            graph->refiner.GetContext(node);
        CHECK(ic != nullptr);                       // Crash OK
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

      // Initialize for tests.
      void initializeForTest() {
        if (!test_mode_) return;
    
        op_set_.setCallback([this](const OpSet& new_op_set) {
          quant_options_.set_op_set(new_op_set);
        });
    
        // Set the test quantization method to static-range.
        if (quant_options_.quantization_method().preset_method() ==
            QuantizationMethod::METHOD_UNSPECIFIED) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

          quantization_options.mutable_quantization_method()->set_preset_method(
              quantization::QuantizationMethod::METHOD_DYNAMIC_RANGE_INT8);
          quantization_options.set_op_set(quantization::UNIFORM_QUANTIZED);
          quantization_options.set_min_num_elements_for_weights(
              kWeightsMinNumElementsDefault);
          quantization::AddQuantizePtqDynamicRangePasses(pass_manager,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top