Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 150 for retval (0.25 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

                                  PatternRewriter &rewriter) {
      if (concat.getVal().size() < 2)
        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. releasenotes/notes/bds-removal.yaml

    Kuat <******@****.***> 1704828110 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 196 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/unique_output_name.mlir

    // CHECK-NEXT:   input: "serving_default_x"
    
    
    // CHECK:        name: "PartitionedCall"
    // CHECK-NEXT:   op: "_Retval"
    // CHECK-NEXT:   input: "tf.MaxPoolWithArgmax:1"
    
    // CHECK:        name: "PartitionedCall1"
    // CHECK-NOT:    name: "PartitionedCall"
    // CHECK-NEXT:   op: "_Retval"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/go/constant/value.go

    func i64tor(x int64Val) ratVal   { return ratVal{newRat().SetInt64(int64(x))} }
    func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} }
    func itor(x intVal) ratVal       { return ratVal{newRat().SetInt(x.val)} }
    func itof(x intVal) floatVal     { return floatVal{newFloat().SetInt(x.val)} }
    func rtof(x ratVal) floatVal     { return floatVal{newFloat().SetRat(x.val)} }
    func vtoc(x Value) complexVal    { return complexVal{x, int64Val(0)} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  5. tensorflow/c/eager/unified_api_testutil.cc

        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
        std::vector<AbstractTensorHandle*> fn_outputs(retvals);
        TF_RETURN_IF_ERROR(fn_op->Execute(
            absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()),
            &retvals));
        int skipped_indices = 0;
        for (int i = 0; i < outputs.size(); i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
      TFE_Execute(func, &retvals[0], &num_retvals, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      ASSERT_EQ(1, num_retvals);
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteTensorHandle(retvals[0]);
      float sum = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg.mlir

        // CHECK: tf_executor.island wraps "tf._Retval"(%outputs_0) {T = !tf_type.resource, _mlir_name = "func_call", index = 0 : i64} : (tensor<*x!tf_type.resource>) -> ()
        %ctl_1 = _Retval(%test_func_name0) name("func_call") {T = !tf_type.resource, index = 0 : i64} : tensor<*x!tf_type.resource>
        // CHECK: tf_executor.fetch
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // CHECK-NEXT:    "tf.IfrtCall"(%arg0, [[ARRAYKEY]]) <{program_id = 6515870160938153680 : i64, variable_arg_indices = [1 : i32]}> {__tpu_compile_metadata_text = "retvals { sharding { } }"} : (tensor<1x3xf32>, tensor<!tf_type.string>) -> tensor<1x1xf32>
    // CHECK-NEXT:    return
    //
     func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/real.go

    )
    
    // RealEventClock fires event on real world time
    type Real struct {
    	clock.RealClock
    }
    
    var _ Interface = Real{}
    
    // EventAfterDuration schedules an EventFunc
    func (Real) EventAfterDuration(f EventFunc, d time.Duration) {
    	ch := time.After(d)
    	go func() {
    		t := <-ch
    		f(t)
    	}()
    }
    
    // EventAfterTime schedules an EventFunc
    func (r Real) EventAfterTime(f EventFunc, t time.Time) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-if-ops.pbtxt

        }
      }
      experimental_debug_info {
      }
    }
    node {
      name: "main"
      op: "_Retval"
      input: "StatefulIf"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "main1"
      op: "_Retval"
      input: "StatelessIf"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 3.9K bytes
    - Viewed (0)
Back to top