Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CallSiteLoc (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc

              FindQuantizationUnitFromLoc(child_loc);
          if (found_unit.has_value()) return found_unit;
        }
      } else if (isa<CallSiteLoc>(loc)) {
        // If the graph is inlined, CallSiteLoc can be created.
        return FindQuantizationUnitFromLoc(
            mlir::cast<CallSiteLoc>(loc).getCallee());
      }
    
      return std::nullopt;
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/metrics/types_util.cc

                ExtractFileLine(typed_child_loc, new_call->mutable_source());
              }
            })
            .Case<CallSiteLoc>([&](CallSiteLoc loc) {
              mutable_location->set_type(ConverterErrorData::CALLSITELOC);
              LocationExtractor(loc.getCallee()).Extract(error_data);
              LocationExtractor(loc.getCaller()).Extract(error_data);
            })
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

      if (!op_type_with_suffix.ends_with(":")) return false;
    
      return absl::c_all_of(locations, [](Location loc) {
        return isa<NameLoc>(loc) ||
               (isa<CallSiteLoc>(loc) &&
                isa<NameLoc>(mlir::cast<CallSiteLoc>(loc).getCallee()));
      });
    }
    
    // Finds the pattern of the location created by `ImporterBase::GetLocation`
    // in `tensorflow/compiler/mlir/tensorflow/translate/import_model.cc`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

                           NodeDef::ExperimentalDebugInfo* debug_info) {
      mlir::Location unwrapped_inst_loc = GetLocationWithoutOpType(inst_loc);
    
      if (auto call_site = mlir::dyn_cast<mlir::CallSiteLoc>(unwrapped_inst_loc)) {
        if (auto name_loc = mlir::dyn_cast<mlir::NameLoc>(
                GetLocationWithoutOpType(call_site.getCallee()))) {
          llvm::StringRef original_node_name, original_func_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // Gets the location information of the given node. It uses the
      // "original_node_name" in the NodeDef to get the corresponding file location
      // (FileLineColLoc) from the input DebugInfo and returns an CallSiteLoc. If
      // there are multiple "original_node_names", a FusedLoc is returned. If the
      // node name couldn't be found in the input DebugInfo, a NameLoc is used as
      // the location.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top