Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for set_inputs (0.45 sec)

  1. 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)
  2. tensorflow/c/c_api.cc

      GraphDef gdef;
      src_graph->ToGraphDef(&gdef);
    
      tensorflow::ImportGraphDefOptions opts;
      opts.prefix = prefix;
    
      for (int i = 0; i < dst_inputs.size(); ++i) {
        opts.input_map[ToTensorId(src_inputs[i])] =
            TensorId(dst_inputs[i].node()->name(), dst_inputs[i].index());
      }
      opts.skip_mapped_nodes = true;
    
      for (const tensorflow::Operation& op : control_deps) {
    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. 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (op->getOperands().size() != 2)
          return rewriter.notifyMatchFailure(
              op, "only match for the case where operands is of size 2");
        auto keys = op.getInputs()[0];
        auto indices = op.getInputs()[1];
        auto keys_ty = mlir::dyn_cast_or_null<ShapedType>(keys.getType());
        auto indices_ty = mlir::dyn_cast_or_null<ShapedType>(indices.getType());
        if (!keys_ty || !keys_ty.hasStaticShape() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/AbstractAnnotationModelRuleExtractorTest.groovy

                getRegistry() >> registry
                contextualize(_) >> { MethodRuleAction action ->
                    Stub(ModelAction) {
                        getSubject() >> action.subject
                        getInputs() >> action.inputs
                        execute(_, _) >> { MutableModelNode node, List<ModelView<?>> inputs ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ManagedTypeDslIntegrationTest.groovy

        }
    
        def "cannot configure a property with unmanaged type using nested closure"() {
            buildFile << '''
    @Managed interface Person {
        @Unmanaged
        InputStream getInput()
        void setInput(InputStream name)
    }
    
    model {
        barry(Person)
        barry {
            input {
                println "broken"
            }
        }
    }
    '''
    
            when:
            fails "model"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top