Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for stateful (0.26 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    mlir::LogicalResult LSTMOp::verify() {
      LSTMOp op = *this;
      auto operands = op.GetStatefulOperands();
      if (operands.size() != 2 || operands[0] != 18 || operands[1] != 19) {
        return op.emitOpError("LSTMOp expected to have two stateful operands");
      }
    
      const auto input_type = op.getInput().getType().cast<ShapedType>();
      // Since TFLite runtime generally supports dynamic shape/rank, if `input_type`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      }
    
      std::string GetName(OpOrVal op_or_val) override {
        DCHECK(false) << "Unimplemented";
        return "";
      }
    
      const FunctionLibraryDefinition& flib_;
    };
    
    // Stateful helper class to import a TensorFlow model into an MLIR Module.
    //
    // This is the base class that contains common utilities shared between the
    // GraphDef importer and SavedModel importer.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // This is used to represent the type of "ref tensors" or tensors that are
    // used as variables to track state.
    def TFL_StatefulTensor : TypeAlias<AnyTensor, "stateful tensor">;
    
    //===----------------------------------------------------------------------===//
    // Rank/Shape helpers.
    //===----------------------------------------------------------------------===//
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // mapping.
      void InitializeNamesFromAttribute(FuncOp fn, bool* has_input_attr);
    
      // Determines if the specified operation op's operand at operand_index
      // is marked as a stateful operand.
      bool IsStatefulOperand(mlir::Operation* op, int operand_index);
    
      // Returns a unique name for `val`.
      std::string UniqueName(mlir::Value val);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // `potential_refined_type`. Return true if the type was changed.
      bool RefineResultType(Operation* op, Value result,
                            Type potential_refined_type);
    
      // Infers the shape from a (Stateful)PartitionedCall operation by looking up
      // the called function and propagating the return type.
      bool InferShapeForCall(CallOpInterface call_op);
    
      bool InferShapeForCast(Operation* op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway_test.go

    					t.Errorf("expected redirect %v, got %v", tt.redirect, h.RequireTls)
    				}
    				if tt.expectStatefulSession && h.TypedPerFilterConfig[util.StatefulSessionFilter] == nil {
    					t.Errorf("expected per filter config for stateful session filter, but not found")
    				}
    			}
    
    			if !maps.EqualFunc(tt.expectedVirtualHosts, vh, slices.Equal) {
    				t.Errorf("got unexpected virtual hosts. Expected: %v, Got: %v", tt.expectedVirtualHosts, vh)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control_test.go

    	if err != nil {
    		return err
    	}
    	for _, claim := range claims {
    		claimPodName := getClaimPodName(set, claim)
    		if claimPodName == "" {
    			continue // Skip claims not related to a stateful set pod.
    		}
    		if _, found := currentPods[claimPodName]; found {
    			continue // Skip claims which still have a current pod.
    		}
    		for _, refs := range claim.GetOwnerReferences() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    	}
    }
    
    func TestPrintStatefulSet(t *testing.T) {
    	tests := []struct {
    		statefulSet apps.StatefulSet
    		options     printers.GenerateOptions
    		expected    []metav1.TableRow
    	}{
    		// Basic stateful set; no generate options.
    		{
    			statefulSet: apps.StatefulSet{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "test1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top