Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 554 for inputs_ (0.12 sec)

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

      // TFL lstm only supports time-majored inputs, so if it's not time-majored,
      // we will transpose the inputs and outputs.
      auto time_major_attr = func_op->getAttrOfType<BoolAttr>("tf.time_major");
      if (time_major_attr == nullptr) return failure();
    
      bool time_majored = time_major_attr.getValue();
      auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
      if (!input_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

        // from inferring output shape for Merge node (we need shapes for all its
        // inputs).
        // For loop invariant resource input's Merge node, we set output resource
        // shape as Enter node's resource shape.
        // TODO(b/129367850): clean this up.
        if (n->IsMerge() && n->output_type(0) == DT_RESOURCE) {
          // Check if this is a loop invariant input's Merge node. We do it by
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

      std::vector<NodeDefBuilder::NodeOut> inputs;
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
    
      const std::string dir = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/kube/krt/krttest/helpers.go

    	t.Cleanup(func() {
    		t.Helper()
    		types := slices.Map(mc.inputs, func(e any) string {
    			return fmt.Sprintf("%T", e)
    		})
    		assert.Equal(t, len(mc.inputs), 0, fmt.Sprintf("some inputs were not consumed: %v (%v)", mc.inputs, types))
    	})
    	return mc
    }
    
    func GetMockCollection[T any](mc *MockCollection) krt.Collection[T] {
    	return krt.NewStaticCollection(extractType[T](&mc.inputs))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

        static class ExpectingSome extends InputsSpec {
    
            final List<Matcher<String>> inputs
    
            ExpectingSome(List<Matcher<String>> inputs = []) {
                this.inputs = inputs
            }
    
            @Override
            InputsSpec expect(Matcher<String> input) {
                inputs.add(input)
                this
            }
    
            @Override
            InputsSpec expectNone() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 65280}, // X0 X1 X2 X3 X4 X5 X6 X7
    				{1, 65280}, // X0 X1 X2 X3 X4 X5 X6 X7
    			},
    			outputs: []outputInfo{
    				{0, 65280}, // X0 X1 X2 X3 X4 X5 X6 X7
    			},
    		},
    	},
    	{
    		name:         "SUBSD",
    		argLen:       2,
    		resultInArg0: true,
    		asm:          x86.ASUBSD,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

    }
    
    // CHECK-LABEL: func @tensor_array_while_test
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    func.func @tensor_array_while_test(%indices: tensor<?xi32>, %input_0: tensor<?x?x?xf32>, %input_1: tensor<?x?x?xf32>) -> (tensor<?x?x512xf32>, tensor<?x?x512xf32>) {
      %index = "tf.Const"() {device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/while_gradients.cc

      // Condition function that returns input > 0.
      CondGraphBuilderFn cond_fn = [](const Scope& scope,
                                      const std::vector<Output>& inputs,
                                      Output* output) {
        DCHECK_EQ(inputs.size(), 1);
        *output = ops::Greater(scope, inputs[0], 0);
        return scope.status();
      };
    
      // Body function that subtracts one from input.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/node_matchers_test.cc

                  NodeWith(Op("Add"), Name("add"),
                           Inputs(Out(NodeWith(Name("placeholder_a"))),
                                  Out(NodeWith(Name("placeholder_b"))))));
    
      EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())),
                "\nexpected 0 inputs but node has 2");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata_test.go

    	for i = 0; i < 8; i++ {
    		fi := FileInfo{
    			TransitionTier:      inputs[0].tier,
    			TransitionedObjName: inputs[0].remoteObjName,
    			TransitionVersionID: inputs[0].remoteVersionID,
    			TransitionStatus:    inputs[0].status,
    		}
    		ofi := fi
    		if i&(1<<0) != 0 {
    			ofi.TransitionTier = inputs[1].tier
    		}
    		if i&(1<<1) != 0 {
    			ofi.TransitionedObjName = inputs[1].remoteObjName
    		}
    		if i&(1<<2) != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top