Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for GetSize (0.13 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

      tflite::FinishModelBuffer(builder, output_model_location);
      std::string output_model_content(
          reinterpret_cast<const char*>(builder.GetBufferPointer()),
          builder.GetSize());
      std::cout << output_model_content << "\n";
      return 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/ConflictContainer.java

            }
            return c;
        }
    
        private Conflict registerConflict(K target, K replacedBy) {
            return registerConflict(singletonList(target), replacedBy);
        }
    
        public int getSize() {
            return conflicts.size();
        }
    
        public Conflict popConflict() {
            assert !conflicts.isEmpty();
            Conflict conflict = conflicts.pop();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc

      tflite::FinishModelBuffer(input_builder, input_model_location);
    
      std::string serialized_model(
          reinterpret_cast<const char*>(input_builder.GetBufferPointer()),
          input_builder.GetSize());
    
      OwningOpRef<mlir::ModuleOp> module = tflite::FlatBufferToMlir(
          serialized_model, &context, UnknownLoc::get(&context));
    
      // Apply quantization passes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

                                fb_builder.CreateVector(subgraphs_metadata));
      fb_builder.Finish(runtime_metadata);
      return std::string(
          reinterpret_cast<const char*>(fb_builder.GetBufferPointer()),
          fb_builder.GetSize());
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

      if (!status.ok()) {
        error_reporter->exception();
        return nullptr;
      }
      return tflite::python_utils::ConvertToPyString(
          reinterpret_cast<const char*>(builder.GetCurrentBufferPointer()),
          builder.GetSize());
    }
    
    PyObject* RegisterCustomOpdefs(PyObject* list) {
      if (!PyList_Check(list)) {
        PyErr_SetString(PyExc_TypeError, "Expected list in argument");
        return nullptr;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

            "Quantize weights transformation failed.");
      }
      const uint8_t* q_buffer = q_builder.GetBufferPointer();
      *result =
          std::string(reinterpret_cast<const char*>(q_buffer), q_builder.GetSize());
    
      return absl::OkStatus();
    }
    
    absl::Status ConvertTFExecutorToStablehloFlatbuffer(
        mlir::PassManager& pass_manager, mlir::ModuleOp module, bool export_to_mlir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                    this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                else if ( info instanceof FileStandardInfo ) {
                    this.size = info.getSize();
                    this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout();
                }
                return info;
            }
    
            /*
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      auto begin = slice_op.getBegin();
      auto begin_type = mlir::dyn_cast_or_null<RankedTensorType>(begin.getType());
      if (!begin_type || !begin_type.hasStaticShape()) return failure();
    
      auto size = slice_op.getSize();
      auto size_type = mlir::dyn_cast_or_null<RankedTensorType>(size.getType());
      if (!size_type || !size_type.hasStaticShape()) return failure();
    
      auto output_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                        Type argType = paramTypes.get(typeVar);
                        _ILOAD_OF(argType, stackVar);
                        stackVar += argType.getSize();
                    }
                    _INVOKESPECIAL(superclassType, "<init>", superMethodDescriptor);
    
                    if (addNameParameter) {
                        // this.name = name
                        _ALOAD(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // check if Flatbuffer builder can no longer hold the given amount of the data
      inline bool IsModelBiggerThan2GB(const uint64_t data_size) {
        return data_size > flatbuffer_size_max - builder_.GetSize();
      }
    
      // helper function for build stablehlo operators
      std::optional<BufferOffset<tflite::Operator>>
      BuildStablehloOperatorwithoutOptions(Operation* inst,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top