Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fbb_ (0.26 sec)

  1. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

      }
      fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false);
    
      auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets"));
      fbb.Int("buckets", buckets.getInt());
    
      fbb.EndMap(start_map);
      fbb.Finish();
      custom_option_buffer.assign(fbb.GetBuffer().begin(), fbb.GetBuffer().end());
      return success();
    }
    
    LogicalResult ConvertSgnnProjection(func::FuncOp func, llvm::StringRef api,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

      flexbuffers::Builder fbb;
      size_t start_map = fbb.StartMap();
    
      for (auto attr : attrs) {
        if (auto float_attr = mlir::dyn_cast_or_null<FloatAttr>(attr.second)) {
          fbb.Float(attr.first.data(), float_attr.getValue().convertToFloat());
        } else if (auto int_attr =
                       mlir::dyn_cast_or_null<IntegerAttr>(attr.second)) {
          fbb.Int(attr.first.data(), int_attr.getInt());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        Operation *mlir_op, uint32_t opcode_index,
        const std::vector<int32_t> &operands, const std::vector<int32_t> &results,
        const std::vector<int32_t> &intermediates,
        flatbuffers::FlatBufferBuilder *fbb);
    
    // Populates the array of mlir::NamedAttributes corresponding to the given
    // tflite::FlatbufferOptionsUnion.
    // We use an out parameter per LLVM convention
    void BuiltinOptionsToAttributes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top