Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for new_types (0.14 sec)

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

        // Update the scale in the quantize op.
        auto new_qtype = RescaleQtype(q_op.getQtype(), gamma_cst);
        if (!new_qtype) return failure();
        rewriter.replaceOpWithNewOp<TFL::QuantizeOp>(q_op, new_qtype.getValue(),
                                                     new_filter, new_qtype);
    
        // If bias isn't None, it needs to be multiplied as well.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
      if (refined_shape || lhs_element_type != lhs_shape_type.getElementType()) {
        Type new_type;
        if (!lhs_shape_type.hasRank() && !rhs_shape_type.hasRank())
          new_type = UnrankedTensorType::get(lhs_element_type);
        else
          new_type = lhs_shape_type.clone(shape, lhs_element_type);
        DCOMMENT("Refined to: " << new_type);
        return new_type;
      }
      DCOMMENT("No refinement " << lhs);
      return lhs;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      llvm::SmallVector<mlir::Type, 4> ret_types;
      ret_types.reserve(fbody.ret_types.size());
      for (auto ret : fbody.ret_nodes) {
        // Find node in the graph using the node id instead of using `ret` directly
        // because the graph has been cloned.
        auto* node = graph_->FindNodeId(ret->id());
        TF_ASSIGN_OR_RETURN(auto type, InferInputType(*node, /*idx=*/0, builder));
        ret_types.push_back(type);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. pkg/scheduler/schedule_one_test.go

    			},
    			expectedPatchRequests:    1,
    			expectedPatchDataPattern: `{"status":{"\$setElementOrder/conditions":\[{"type":"someOtherType"},{"type":"newType"}],"conditions":\[{"lastProbeTime":"2020-05-13T01:01:01Z","lastTransitionTime":".*","message":"newMessage","reason":"newReason","status":"newStatus","type":"newType"}]}}`,
    		},
    		{
    			name: "Should make patch request to update an existing pod condition",
    			currentPodConditions: []v1.PodCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        }
      }
    
      std::vector<int64_t> new_shape = value_attr.getType().getShape().vec();
      new_shape[0] = lookup_attr.getType().getShape()[0];
      auto new_type = value_attr.getType().clone(new_shape);
    
      return DenseElementsAttr::get(new_type, new_values);
    }
    
    //===----------------------------------------------------------------------===//
    // ConstBytesAttr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top