Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for GetInputs (0.15 sec)

  1. tensorflow/c/eager/immediate_execution_operation.h

    class ImmediateExecutionOperation : public AbstractOperation {
     public:
      virtual void Clear() = 0;
    
      // Returns the inputs of this op.
      virtual absl::Span<ImmediateExecutionTensorHandle* const> GetInputs()
          const = 0;
      virtual Status SetInput(size_t index,
                              ImmediateExecutionTensorHandle* input) = 0;
    
      virtual ImmediateExecutionContext* GetContext() const = 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 22:40:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      if (use_region_args) {
        auto inputs = func.getFunctionType().getInputs();
        entry->addArguments(inputs, SmallVector<Location>(inputs.size(), loc));
        args = entry->getArguments();
      }
      llvm::SmallVector<Value, 4> casted_args;
      casted_args.reserve(func.getNumArguments());
      for (const auto& ArgAndType : zip(args, func.getFunctionType().getInputs())) {
        Value arg = std::get<0>(ArgAndType);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleDefinitionRuleExtractor.java

            }
    
            @Override
            public ModelReference<?> getSubject() {
                return targetReference;
            }
    
            @Override
            public List<? extends ModelReference<?>> getInputs() {
                return inputs;
            }
    
            @Override
            public void execute(ModelRuleInvoker<?> invoker, MutableModelNode subjectNode, List<ModelView<?>> inputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

    void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) {
      OpBuilder builder(region);
      auto block = builder.createBlock(&region);
      SmallVector<Value, 4> new_operands;
      for (Type t : func.getFunctionType().getInputs())
        new_operands.push_back(block->addArgument(t, loc));
      auto call = builder.create<func::CallOp>(loc, func, new_operands);
      builder.create<YieldOp>(loc, call.getResults());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

      if (!main_fn) {
        return absl::InternalError("Could not find main function in MLIR Module.");
      }
    
      mlir::FunctionType func_type = main_fn.getFunctionType();
      for (auto input_type : func_type.getInputs()) {
        tensorflow::TensorShape tensor_shape;
        xla::Shape xla_shape = xla::TypeToShape(input_type);
        TF_RETURN_IF_ERROR(tensorflow::TensorShape::BuildTensorShape(
            xla_shape.dimensions(), &tensor_shape));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

      // If there are multiple platforms, the first argument is reserved for
      // passing the platform index.
      FunctionType function_type = func_op.getFunctionType();
      ArrayRef<Type> new_input_types =
          function_type.getInputs().take_back(func_op.getNumArguments() - 1);
      func_op.setFunctionType(
          FunctionType::get(ctx, new_input_types, function_type.getResults()));
      func_op.getBody().eraseArgument(0);
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/TaskInternal.java

        @Internal
        Optional<String> getReasonTaskIsIncompatibleWithConfigurationCache();
    
        @Internal
        StandardOutputCapture getStandardOutputCapture();
    
        @Override
        TaskInputsInternal getInputs();
    
        @Override
        TaskOutputsInternal getOutputs();
    
        @Override
        TaskStateInternal getState();
    
        @Internal
        boolean getImpliesSubProjects();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      // orig_op, except the op name.
      auto* new_op = new EagerOperation(&ctx);
      TF_RETURN_IF_ERROR(
          new_op->Reset(fname.c_str(), orig_op->DeviceName().c_str()));
      for (auto input : orig_op->GetInputs()) {
        TF_RETURN_IF_ERROR(new_op->AddInput(input));
      }
      new_op->MutableAttrs()->CopyAttributes(orig_op->Attrs());
      out_op->reset(new_op);
    
      LOG_FIRST_N(INFO, 1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

        return false;
      }
      return true;
    }
    
    bool ValidateReplicatedInput(TF::TPUReplicatedInputOp rep, int num_replicas,
                                 StringAttr attr) {
      int arity = rep.getInputs().size();
      if (rep.getIsPacked() && arity != 1) {
        rep.emitOpError(
            "TF2XLA TPU bridge input check: packed with number of inputs not 1.")
            << " num_replicas=" << num_replicas << " no. of inputs=" << arity;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandler.java

            }
    
            public void setBuild_time(List<Long> build_time) {
                this.build_time = build_time;
            }
    
            public Map<String, List> getInputs() {
                return inputs;
            }
    
            public void setInputs(Map<String, List> inputs) {
                this.inputs = inputs;
            }
    
            @Override
            public String toString() {
                return "SwiftDeps{" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top