Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 150 for retval (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir

    // CHECK-NEXT:   name: "Add{{_.*_1}}"
    // CHECK-NEXT:   op: "Add"
    // CHECK-NEXT:   input: "input0"
    // CHECK-NEXT:   input: "input1"
    // CHECK:      node {
    // CHECK-NEXT:   name: "Add"
    // CHECK-NEXT:   op: "_Retval"
    // CHECK-NEXT:   input: "Add{{_.*_1}}"
    // CHECK-NEXT:   attr {
    // CHECK-NEXT:     key: "T"
    // CHECK-NEXT:     value {
    // CHECK-NEXT:       type: DT_INT32
    // CHECK-NEXT:     }
    // CHECK-NEXT:   }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt

        value {
          type: DT_FLOAT
        }
      }
    }
    node {
      name: "rets_0"
      op: "_Retval"
      input: "identity"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "rets_1"
      op: "_Retval"
      input: "statefulpartitionedcall"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    Status TapeOperation::Execute(absl::Span<AbstractTensorHandle*> retvals,
                                  int* num_retvals) {
      TF_RETURN_IF_ERROR(parent_op_->Execute(retvals, num_retvals));
      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_.outputs.push_back(retvals[i]);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. operator/pkg/util/label_test.go

    			resourceAccessor, _ := meta.Accessor(resource)
    			labels := resourceAccessor.GetLabels()
    			if gotVal, ok := labels[tt.wantLabel]; !ok || gotVal != tt.wantValue || gotErr != tt.wantErr {
    				t.Errorf("%s: ok: %v, got value: %v, want value: %v, got error: %v, want error: %v", tt.desc, ok, gotVal, tt.wantValue, gotErr, tt.wantErr)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      add_attrs(g.node());
    
      auto out0 = ops::_Retval(scope.WithOpName("b_identity_0_retval_RetVal"),
                               b_identity, 0);
      auto out1 = ops::_Retval(scope.WithOpName("e_0_retval_RetVal"), e, 1);
      auto out2 = ops::_Retval(scope.WithOpName("g_0_retval_RetVal"), g, 2);
      auto out3 =
          ops::_Retval(scope.WithOpName("readu_0_retval_RetVal"), read_u, 3);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    // CHECK-NEXT: op: "Identity"
    // CHECK-NEXT: input: "bar"
    // CHECK: name: "[[BAR_ID_1:.*]]"
    // CHECK-NEXT: op: "Identity"
    // CHECK-NEXT: input: "[[BAR_ID_0]]"
    // CHECK: name: "Add"
    // CHECK-NEXT: op: "_Retval"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/promise/promise_test.go

    	}()
    	expectGotValue(t, gots, expected)
    }
    
    func expectGotValue(t *testing.T, gots <-chan interface{}, expected interface{}) {
    	select {
    	case gotVal := <-gots:
    		t.Logf("Got %v", gotVal)
    		if gotVal != expected {
    			t.Errorf("Get returned %v, expected: %v", gotVal, expected)
    		}
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Error("Get did not return")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 19:19:31 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/batch_use_same_function/saved_model.pbtxt

          function {
            signature {
              name: "inference_func"
              input_arg {
                name: "arg0"
                type: DT_FLOAT
              }
            }
            ret {
              key: "retval0"
              value: "arg0"
            }
          }
        }
      }
      signature_def: {
        key: "predict0"
        value: {
          inputs: {
            key: "inputs"
            value: {
              name: "input0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 09 16:20:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      auto* retval_task0 =
          TFE_TensorHandleCopyToDevice(retvals[0], ctx, local_device_name, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes.pbtxt

              dim {
                size: 1
              }
            }
          }
        }
      }
    }
    # Return value to ensure not pruned if we want to run passes post.
    node {
      name: "rets_0"
      op: "_Retval"
      input: "RaggedToTensor"
      attr {
        key: "T"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 21 04:07:13 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top